mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Fixed asynchronous cluster mode
This commit is contained in:
parent
634440b794
commit
966a057c91
@ -39,8 +39,10 @@ class ClusterClient(DirectObject.DirectObject):
|
|||||||
self.daemon.tellServer(serverConfig.serverName,
|
self.daemon.tellServer(serverConfig.serverName,
|
||||||
clusterDaemonPort,
|
clusterDaemonPort,
|
||||||
serverCommand)
|
serverCommand)
|
||||||
|
print 'blah'
|
||||||
if not self.daemon.waitForServers(len(configList)):
|
if not self.daemon.waitForServers(len(configList)):
|
||||||
print 'Cluster Client, no response from servers'
|
print 'Cluster Client, no response from servers'
|
||||||
|
print 'post blah'
|
||||||
self.qcm=QueuedConnectionManager()
|
self.qcm=QueuedConnectionManager()
|
||||||
self.serverList = []
|
self.serverList = []
|
||||||
self.msgHandler = ClusterMsgHandler(ClusterClient.MGR_NUM, self.notify)
|
self.msgHandler = ClusterMsgHandler(ClusterClient.MGR_NUM, self.notify)
|
||||||
|
@ -21,6 +21,7 @@ import string
|
|||||||
|
|
||||||
ClientConfigs = {
|
ClientConfigs = {
|
||||||
'single-server' : [{'display name' : 'display0',
|
'single-server' : [{'display name' : 'display0',
|
||||||
|
'display mode' : 'client',
|
||||||
'pos' : Vec3(0),
|
'pos' : Vec3(0),
|
||||||
'hpr' : Vec3(0)}
|
'hpr' : Vec3(0)}
|
||||||
],
|
],
|
||||||
@ -33,6 +34,7 @@ ClientConfigs = {
|
|||||||
'hpr' : Vec3(-30,0,0)}
|
'hpr' : Vec3(-30,0,0)}
|
||||||
],
|
],
|
||||||
'mono-modelcave-pipe0': [{'display name' : 'display0',
|
'mono-modelcave-pipe0': [{'display name' : 'display0',
|
||||||
|
'display mode' : 'client',
|
||||||
'pos' : Vec3(0),
|
'pos' : Vec3(0),
|
||||||
'hpr' : Vec3(0)},
|
'hpr' : Vec3(0)},
|
||||||
{'display name' : 'display1',
|
{'display name' : 'display1',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user