mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
sendSetLOcation from setLocation
This commit is contained in:
parent
d10e287d72
commit
2e5a15c145
@ -140,8 +140,8 @@ class DistributedObjectAI(DirectObject.DirectObject):
|
||||
self.air.addInterest(self.getDoId(), zoneId, note, event)
|
||||
|
||||
def setLocation(self, parentId, zoneId):
|
||||
# The store must run first so we know the old location
|
||||
self.air.setLocation(self.doId, parentId, zoneId)
|
||||
# The store must run first so we know the old location
|
||||
self.air.sendSetLocation(self, parentId, zoneId)
|
||||
|
||||
|
||||
if 0: # this is untested:
|
||||
|
Loading…
x
Reference in New Issue
Block a user