|
@@ -36,7 +36,6 @@ from panda3d.core import (
|
|
|
ClockObject,
|
|
ClockObject,
|
|
|
ConfigVariableBool,
|
|
ConfigVariableBool,
|
|
|
GlobPattern,
|
|
GlobPattern,
|
|
|
- PandaSystem,
|
|
|
|
|
PythonTask,
|
|
PythonTask,
|
|
|
Thread,
|
|
Thread,
|
|
|
)
|
|
)
|
|
@@ -539,7 +538,7 @@ class TaskManager:
|
|
|
"""Starts the task manager running. Does not return until an
|
|
"""Starts the task manager running. Does not return until an
|
|
|
exception is encountered (including KeyboardInterrupt). """
|
|
exception is encountered (including KeyboardInterrupt). """
|
|
|
|
|
|
|
|
- if PandaSystem.getPlatform() == 'emscripten':
|
|
|
|
|
|
|
+ if sys.platform == 'emscripten':
|
|
|
return
|
|
return
|
|
|
|
|
|
|
|
# Set the clock to have last frame's time in case we were
|
|
# Set the clock to have last frame's time in case we were
|