mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
- Fixed a ship crash
This commit is contained in:
parent
deb3f12f1b
commit
7698e4801b
@ -23,7 +23,8 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath):
|
|||||||
|
|
||||||
def disable(self):
|
def disable(self):
|
||||||
if self.activeState != DistributedObject.ESDisabled:
|
if self.activeState != DistributedObject.ESDisabled:
|
||||||
self.reparentTo(hidden)
|
if not self.isEmpty():
|
||||||
|
self.reparentTo(hidden)
|
||||||
DistributedObject.DistributedObject.disable(self)
|
DistributedObject.DistributedObject.disable(self)
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user