Browse Source

Fixed asynchronous cluster mode

Mark Mine 23 years ago
parent
commit
966a057c91
2 changed files with 4 additions and 0 deletions
  1. 2 0
      direct/src/cluster/ClusterClient.py
  2. 2 0
      direct/src/cluster/ClusterConfig.py

+ 2 - 0
direct/src/cluster/ClusterClient.py

@@ -39,8 +39,10 @@ class ClusterClient(DirectObject.DirectObject):
             self.daemon.tellServer(serverConfig.serverName,
                                    clusterDaemonPort,
                                    serverCommand)
+        print 'blah'
         if not self.daemon.waitForServers(len(configList)):
             print 'Cluster Client, no response from servers'
+        print 'post blah'
         self.qcm=QueuedConnectionManager()
         self.serverList = []
         self.msgHandler = ClusterMsgHandler(ClusterClient.MGR_NUM, self.notify)

+ 2 - 0
direct/src/cluster/ClusterConfig.py

@@ -21,6 +21,7 @@ import string
 
 ClientConfigs = {
     'single-server'       : [{'display name' : 'display0',
+                              'display mode' : 'client',
                               'pos' : Vec3(0),
                               'hpr' : Vec3(0)}
                              ],
@@ -33,6 +34,7 @@ ClientConfigs = {
                               'hpr' : Vec3(-30,0,0)}
                              ],
     'mono-modelcave-pipe0': [{'display name' : 'display0',
+                              'display mode' : 'client',
                               'pos' : Vec3(0),
                               'hpr' : Vec3(0)},
                              {'display name' : 'display1',