mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
generate/delete refcount: error->warning
This commit is contained in:
parent
1a4a978b3a
commit
67af3d6256
@ -97,7 +97,7 @@ class DistributedObjectAI(DistributedObjectBase):
|
||||
"""
|
||||
self.__generates -= 1
|
||||
if self.__generates < 0:
|
||||
self.notify.error('DistributedObjectAI: delete() called more times than generate()')
|
||||
self.notify.warning('DistributedObjectAI: delete() called more times than generate()')
|
||||
if self.__generates == 0:
|
||||
# prevent this code from executing multiple times
|
||||
if self.air is not None:
|
||||
|
@ -93,7 +93,7 @@ class DistributedObjectUD(DistributedObjectBase):
|
||||
"""
|
||||
self.__generates -= 1
|
||||
if self.__generates < 0:
|
||||
self.notify.error('DistributedObjectUD: delete() called more times than generate()')
|
||||
self.notify.warning('DistributedObjectUD: delete() called more times than generate()')
|
||||
if self.__generates == 0:
|
||||
# prevent this code from executing multiple times
|
||||
if self.air is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user