mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Uh, oh, let's keep backward compatibility for base.mainDir
This commit is contained in:
parent
a2faefb748
commit
381f89d8ea
@ -59,6 +59,9 @@ class ShowBase(DirectObject.DirectObject):
|
|||||||
if config.GetBool('want-variable-dump', 0):
|
if config.GetBool('want-variable-dump', 0):
|
||||||
ExceptionVarDump.install()
|
ExceptionVarDump.install()
|
||||||
|
|
||||||
|
# Locate the directory containing the main program
|
||||||
|
self.mainDir = ExecutionEnvironment.getEnvironmentVariable("MAIN_DIR")
|
||||||
|
|
||||||
# The appRunner should have been created by the time ShowBase
|
# The appRunner should have been created by the time ShowBase
|
||||||
# has been.
|
# has been.
|
||||||
self.appRunner = AppRunnerGlobal.appRunner
|
self.appRunner = AppRunnerGlobal.appRunner
|
||||||
|
Loading…
x
Reference in New Issue
Block a user