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