mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
debug printing
This commit is contained in:
parent
95256fa6b1
commit
a15be206eb
@ -25,6 +25,7 @@ class DistributedObject(PandaObject):
|
|||||||
neverDisable = 0
|
neverDisable = 0
|
||||||
|
|
||||||
def __init__(self, cr):
|
def __init__(self, cr):
|
||||||
|
assert self.notify.debugStateCall(self)
|
||||||
try:
|
try:
|
||||||
self.DistributedObject_initialized
|
self.DistributedObject_initialized
|
||||||
except:
|
except:
|
||||||
@ -162,6 +163,7 @@ class DistributedObject(PandaObject):
|
|||||||
Returns true if the object has been fully generated by now,
|
Returns true if the object has been fully generated by now,
|
||||||
and not yet disabled.
|
and not yet disabled.
|
||||||
"""
|
"""
|
||||||
|
assert self.notify.debugStateCall(self)
|
||||||
return (self.activeState == ESGenerated)
|
return (self.activeState == ESGenerated)
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
@ -179,7 +181,7 @@ class DistributedObject(PandaObject):
|
|||||||
"""
|
"""
|
||||||
Inheritors should redefine this to take appropriate action on generate
|
Inheritors should redefine this to take appropriate action on generate
|
||||||
"""
|
"""
|
||||||
assert(self.notify.debug('generate()'))
|
assert self.notify.debugStateCall(self)
|
||||||
self.activeState = ESGenerating
|
self.activeState = ESGenerating
|
||||||
|
|
||||||
def generateInit(self):
|
def generateInit(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user