mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
temporarily comment out storeObjectLocation and deleteObjectLocation
This commit is contained in:
parent
840d2bdc6e
commit
d10e287d72
@ -156,7 +156,7 @@ class DistributedObject(PandaObject):
|
|||||||
self.activeState = ESDisabled
|
self.activeState = ESDisabled
|
||||||
self.__callbacks = {}
|
self.__callbacks = {}
|
||||||
if wantOtpServer:
|
if wantOtpServer:
|
||||||
self.cr.deleteObjectLocation(self.doId, self.__location[0], self.__location[1])
|
#self.cr.deleteObjectLocation(self.doId, self.__location[0], self.__location[1])
|
||||||
self.__location = (None, None)
|
self.__location = (None, None)
|
||||||
# TODO: disable my children
|
# TODO: disable my children
|
||||||
|
|
||||||
@ -343,7 +343,7 @@ class DistributedObject(PandaObject):
|
|||||||
|
|
||||||
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)
|
||||||
self.__location = (parentId, zoneId)
|
self.__location = (parentId, zoneId)
|
||||||
|
|
||||||
def getLocation(self):
|
def getLocation(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user