|
@@ -6,7 +6,6 @@ from DirectGrid import *
|
|
|
from DirectGeometry import *
|
|
from DirectGeometry import *
|
|
|
from DirectLights import *
|
|
from DirectLights import *
|
|
|
from DirectSessionPanel import *
|
|
from DirectSessionPanel import *
|
|
|
-from DirectDeviceManager import *
|
|
|
|
|
import Placer
|
|
import Placer
|
|
|
import OnscreenText
|
|
import OnscreenText
|
|
|
import types
|
|
import types
|
|
@@ -53,6 +52,7 @@ class DirectSession(PandaObject):
|
|
|
|
|
|
|
|
# Create a vrpn client vrpn-server or default
|
|
# Create a vrpn client vrpn-server or default
|
|
|
if base.config.GetBool('want-vrpn', 0):
|
|
if base.config.GetBool('want-vrpn', 0):
|
|
|
|
|
+ from DirectDeviceManager import *
|
|
|
self.deviceManager = DirectDeviceManager()
|
|
self.deviceManager = DirectDeviceManager()
|
|
|
# Automatically create any devices specified in config file
|
|
# Automatically create any devices specified in config file
|
|
|
joybox = base.config.GetString('vrpn-joybox-device', '')
|
|
joybox = base.config.GetString('vrpn-joybox-device', '')
|