fixed cluster sendCamFrustum

This commit is contained in:
Mark Mine 2003-08-05 00:40:54 +00:00
parent 3dc5c30386
commit 14d2a62796
1 changed files with 5 additions and 6 deletions

View File

@ -110,14 +110,13 @@ class ClusterClient(DirectObject.DirectObject):
def deselectNodePath(self, nodePath):
self(self.getNodePathFindCmd(nodePath) + '.deselect()', 0)
def sendCamFrustum(self, focalLength, filmSize, filmOffset, serverList=[]):
self.notify.debug('updating camera %d frustum' % i)
print 'frustumData', serverList,
print focalLength, filmSize[0],filmSize[1],filmOffset[0],filmOffset[1]
return
if not serverList:
def sendCamFrustum(self, focalLength, filmSize, filmOffset, indexList=[]):
if indexList:
serverList = map(lambda i: self.serverList[i], indexList)
else:
serverList = self.serverList
for server in serverList:
self.notify.debug('updating camera frustum')
server.sendCamFrustum(focalLength, filmSize, filmOffset)
def loadModel(self, nodePath):