mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
bandaid hack for distributedcartesiangrid
This commit is contained in:
parent
15c717ad3f
commit
d5c8b6f490
@ -115,7 +115,10 @@ class DistributedCartesianGrid(DistributedNode, CartesianGridBase):
|
|||||||
parentEvent = eventGroup.newEvent('%s.parent.removeInterest' % self.doId)
|
parentEvent = eventGroup.newEvent('%s.parent.removeInterest' % self.doId)
|
||||||
else:
|
else:
|
||||||
parentEvent = None
|
parentEvent = None
|
||||||
self.cr.doId2do[self.parentId].worldGrid.stopProcessVisibility(event=parentEvent)
|
|
||||||
|
##HACK BANDAID FOR PVP INSTANCES
|
||||||
|
if(hasattr(self.cr.doId2do[self.parentId],"worldGrid")):
|
||||||
|
self.cr.doId2do[self.parentId].worldGrid.stopProcessVisibility(event=parentEvent)
|
||||||
|
|
||||||
def processVisibility(self, task):
|
def processVisibility(self, task):
|
||||||
if self.visAvatar.gameFSM.state == 'Cutscene':
|
if self.visAvatar.gameFSM.state == 'Cutscene':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user