mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
fixed entity removal/requestParent editing bug
This commit is contained in:
parent
b52892ac41
commit
5e6dee54df
@ -338,6 +338,7 @@ class DistributedLevel(DistributedObject.DistributedObject,
|
|||||||
(child, parent))
|
(child, parent))
|
||||||
child.reparentTo(parent.getNodePath())
|
child.reparentTo(parent.getNodePath())
|
||||||
del self.parent2pendingChildren[parentId]
|
del self.parent2pendingChildren[parentId]
|
||||||
|
self.ignore(self.getEntityCreateEvent(parentId))
|
||||||
|
|
||||||
self.accept(self.getEntityCreateEvent(parentId), doReparent)
|
self.accept(self.getEntityCreateEvent(parentId), doReparent)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user