|
|
@@ -20,9 +20,9 @@ class DirectFastrak(DirectObject):
|
|
|
fastrakCount = 0
|
|
|
notify = DirectNotifyGlobal.directNotify.newCategory('DirectFastrak')
|
|
|
|
|
|
- def __init__(self, device = 'Tracker0', nodePath = base.direct.camera):
|
|
|
+ def __init__(self, device = 'Tracker0', nodePath = None):
|
|
|
# See if device manager has been initialized
|
|
|
- if base.direct.deviceManager == None:
|
|
|
+ if base.direct.deviceManager is None:
|
|
|
base.direct.deviceManager = DirectDeviceManager()
|
|
|
|
|
|
# Set name
|