mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
debug prints to track down leaked Toon storeObjectLocation
This commit is contained in:
parent
d2ea5d9be3
commit
98b25b8a6d
@ -59,6 +59,9 @@ class DoHierarchy:
|
|||||||
return r
|
return r
|
||||||
|
|
||||||
def storeObjectLocation(self, do, parentId, zoneId):
|
def storeObjectLocation(self, do, parentId, zoneId):
|
||||||
|
if do.__class__.__name__ == 'DistributedToon':
|
||||||
|
from direct.showbase.PythonUtil import StackTrace
|
||||||
|
print 'storeObjectLocation(DistributedToon): %s' % StackTrace()
|
||||||
doId = do.doId
|
doId = do.doId
|
||||||
if doId in self._allDoIds:
|
if doId in self._allDoIds:
|
||||||
self.notify.error(
|
self.notify.error(
|
||||||
@ -72,6 +75,9 @@ class DoHierarchy:
|
|||||||
do.__class__.__name__, doId, parentId, zoneId))
|
do.__class__.__name__, doId, parentId, zoneId))
|
||||||
|
|
||||||
def deleteObjectLocation(self, do, parentId, zoneId):
|
def deleteObjectLocation(self, do, parentId, zoneId):
|
||||||
|
if do.__class__.__name__ == 'DistributedToon':
|
||||||
|
from direct.showbase.PythonUtil import StackTrace
|
||||||
|
print 'deleteObjectLocation(DistributedToon): %s' % StackTrace()
|
||||||
doId = do.doId
|
doId = do.doId
|
||||||
if doId not in self._allDoIds:
|
if doId not in self._allDoIds:
|
||||||
self.notify.error(
|
self.notify.error(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user