mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
more grid parent cleanup
This commit is contained in:
parent
802f36fbd6
commit
67613e4278
@ -56,6 +56,10 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath):
|
|||||||
if self.gridParent:
|
if self.gridParent:
|
||||||
self.gridParent.delete()
|
self.gridParent.delete()
|
||||||
self.gridParent = None
|
self.gridParent = None
|
||||||
|
else:
|
||||||
|
if self.gridParent:
|
||||||
|
self.gridParent.delete()
|
||||||
|
self.gridParent = None
|
||||||
|
|
||||||
def __cmp__(self, other):
|
def __cmp__(self, other):
|
||||||
# DistributedNode inherits from NodePath, which inherits a
|
# DistributedNode inherits from NodePath, which inherits a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user