mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
removed comment out code
This commit is contained in:
parent
26f0ad5c7b
commit
2bb2602ac4
@ -21,7 +21,6 @@ class DistributedObjectAI(DirectObject):
|
||||
# Record the repository
|
||||
self.air = air
|
||||
# Record our parentId and zoneId
|
||||
## self.__location = None
|
||||
self.parentId = None
|
||||
self.zoneId = None
|
||||
|
||||
@ -197,7 +196,6 @@ class DistributedObjectAI(DirectObject):
|
||||
self.handleLogicalZoneChange(zoneId, lastLogicalZone)
|
||||
self.lastNonQuietZone = zoneId
|
||||
self.air.storeObjectLocation(self.doId, parentId, zoneId)
|
||||
## self.__location = (parentId, zoneId)
|
||||
|
||||
# Set the initial values of parentId,zoneId
|
||||
def setInitLocation(self, parentId, zoneId):
|
||||
@ -349,7 +347,6 @@ class DistributedObjectAI(DirectObject):
|
||||
self.air.generateWithRequiredAndId(self, doId, parentId, zoneId, optionalFields)
|
||||
self.parentId = parentId
|
||||
self.zoneId = zoneId
|
||||
## self.__location = (parentId, zoneId)
|
||||
self.generate()
|
||||
else:
|
||||
def generateWithRequiredAndId(self, doId, zoneId, optionalFields=[]):
|
||||
@ -374,7 +371,6 @@ class DistributedObjectAI(DirectObject):
|
||||
assert not hasattr(self, 'parentId')
|
||||
self.parentId = parentId
|
||||
self.zoneId = zoneId
|
||||
## self.__location = (parentId, zoneId)
|
||||
self.generate()
|
||||
|
||||
def generateOtpObject(self, parentId, zoneId, optionalFields=[], doId=None):
|
||||
@ -398,7 +394,6 @@ class DistributedObjectAI(DirectObject):
|
||||
assert not hasattr(self, 'parentId') or self.parentId is None
|
||||
self.parentId = parentId
|
||||
self.zoneId = zoneId
|
||||
## self.__location = (parentId, zoneId)
|
||||
self.generate()
|
||||
|
||||
def generate(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user