mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
addInterest
This commit is contained in:
parent
22175505f1
commit
0f23beb5da
@ -336,6 +336,9 @@ class DistributedObject(PandaObject):
|
|||||||
self.__barrierContext = None
|
self.__barrierContext = None
|
||||||
|
|
||||||
if wantOtpServer:
|
if wantOtpServer:
|
||||||
|
def addInterest(self, zoneId, note=""):
|
||||||
|
self.cr.addInterest(self.getDoId(), zoneId, note)
|
||||||
|
|
||||||
def setLocation(self, parentId, zoneId):
|
def setLocation(self, parentId, zoneId):
|
||||||
# The store must run first so we know the old location
|
# The store must run first so we know the old location
|
||||||
self.cr.storeObjectLocation(self.doId, parentId, zoneId)
|
self.cr.storeObjectLocation(self.doId, parentId, zoneId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user