mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
added toon debugging: doId & location
This commit is contained in:
parent
6f21efb679
commit
3bbfc2e34c
@ -61,7 +61,7 @@ class DoHierarchy:
|
|||||||
def storeObjectLocation(self, do, parentId, zoneId):
|
def storeObjectLocation(self, do, parentId, zoneId):
|
||||||
if do.__class__.__name__ == 'DistributedToon':
|
if do.__class__.__name__ == 'DistributedToon':
|
||||||
from direct.showbase.PythonUtil import StackTrace
|
from direct.showbase.PythonUtil import StackTrace
|
||||||
print 'storeObjectLocation(DistributedToon): %s' % StackTrace()
|
print 'storeObjectLocation(DistributedToon %s)(%s, %s): %s' % (do.doId, parentId, zoneId, StackTrace())
|
||||||
doId = do.doId
|
doId = do.doId
|
||||||
if doId in self._allDoIds:
|
if doId in self._allDoIds:
|
||||||
self.notify.error(
|
self.notify.error(
|
||||||
@ -77,7 +77,7 @@ class DoHierarchy:
|
|||||||
def deleteObjectLocation(self, do, parentId, zoneId):
|
def deleteObjectLocation(self, do, parentId, zoneId):
|
||||||
if do.__class__.__name__ == 'DistributedToon':
|
if do.__class__.__name__ == 'DistributedToon':
|
||||||
from direct.showbase.PythonUtil import StackTrace
|
from direct.showbase.PythonUtil import StackTrace
|
||||||
print 'deleteObjectLocation(DistributedToon): %s' % StackTrace()
|
print 'deleteObjectLocation(DistributedToon %s)(%s, %s): %s' % (do.doId, parentId, zoneId, 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