mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 19:34:18 -04:00
this fixes the crash in leveleditor
This commit is contained in:
parent
2848f047c9
commit
a9259e8964
@ -462,6 +462,7 @@ class GravityWalker(DirectObject.DirectObject):
|
|||||||
jump = inputState.isSet("jump")
|
jump = inputState.isSet("jump")
|
||||||
|
|
||||||
# Check for Auto-Run
|
# Check for Auto-Run
|
||||||
|
if 'localAvatar' in __builtins__:
|
||||||
if base.localAvatar.getAutoRun():
|
if base.localAvatar.getAutoRun():
|
||||||
forward = 1
|
forward = 1
|
||||||
reverse = 0
|
reverse = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user