mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
used global config instead of base.config (same thing)
This commit is contained in:
parent
e527327b69
commit
41d4c7a9c0
@ -17,9 +17,9 @@ CollisionHandlerRayStart = 4000.0 # This is a hack, it may be better to use a li
|
|||||||
|
|
||||||
class ControlManager:
|
class ControlManager:
|
||||||
notify = DirectNotifyGlobal.directNotify.newCategory("ControlManager")
|
notify = DirectNotifyGlobal.directNotify.newCategory("ControlManager")
|
||||||
wantAvatarPhysicsIndicator = base.config.GetBool('want-avatar-physics-indicator', 0)
|
wantAvatarPhysicsIndicator = config.GetBool('want-avatar-physics-indicator', 0)
|
||||||
wantAvatarPhysicsDebug = base.config.GetBool('want-avatar-physics-debug', 0)
|
wantAvatarPhysicsDebug = config.GetBool('want-avatar-physics-debug', 0)
|
||||||
wantWASD = base.config.GetBool('want-WASD', 0)
|
wantWASD = config.GetBool('want-WASD', 0)
|
||||||
|
|
||||||
def __init__(self, enable=True, passMessagesThrough = False):
|
def __init__(self, enable=True, passMessagesThrough = False):
|
||||||
print ("init control manager %s" % (passMessagesThrough))
|
print ("init control manager %s" % (passMessagesThrough))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user