From 5ae471b5eb051e0557179350b4fa2395ffdc182c Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Wed, 24 Apr 2002 17:08:20 +0000 Subject: [PATCH] Working cluster with bootstrap daemon --- direct/src/cluster/ClusterConfig.py | 4 ++-- direct/src/cluster/ClusterMsgs.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/direct/src/cluster/ClusterConfig.py b/direct/src/cluster/ClusterConfig.py index 7fea169d0d..9fa4f5e6e2 100644 --- a/direct/src/cluster/ClusterConfig.py +++ b/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), diff --git a/direct/src/cluster/ClusterMsgs.py b/direct/src/cluster/ClusterMsgs.py index b883e8ae5c..1299a84492 100644 --- a/direct/src/cluster/ClusterMsgs.py +++ b/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"""