Browse Source

Working cluster with bootstrap daemon

Mark Mine 24 years ago
parent
commit
5ae471b5eb
2 changed files with 3 additions and 3 deletions
  1. 2 2
      direct/src/cluster/ClusterConfig.py
  2. 1 1
      direct/src/cluster/ClusterMsgs.py

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

@@ -27,10 +27,10 @@ ClientConfigs = {
     'two-server'          : [{'display name' : 'display0',
                               'display mode' : 'client',
                               'pos' : Vec3(0),
-                              'hpr' : Vec3(-30,0,0)},
+                              'hpr' : Vec3(30,0,0)},
                              {'display name' : 'display1',
                               'pos' : Vec3(0),
-                              'hpr' : Vec3(30,0,0)}
+                              'hpr' : Vec3(-30,0,0)}
                              ],
     'mono-modelcave-pipe0': [{'display name' : 'display0',
                               'pos' : Vec3(0),

+ 1 - 1
direct/src/cluster/ClusterMsgs.py

@@ -29,7 +29,7 @@ SERVER_STARTUP_STRING = (
     '__builtin__.clusterSyncFlag = %d;' +
     '__builtin__.clusterDaemonClient = \'%s\';' +
     '__builtin__.clusterDaemonPort = %d;'
-    'from ShowBaseGlobal import *"')
+    'from ShowBaseGlobal import *; run()"')
 
 class ClusterMsgHandler:
     """ClusterMsgHandler: wrapper for PC clusters/multi-piping networking"""