mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
comment out automatic reparenting to parent
This commit is contained in:
parent
f417cfc9d5
commit
2fac71989d
@ -34,16 +34,15 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath):
|
|||||||
def generate(self):
|
def generate(self):
|
||||||
DistributedObject.DistributedObject.generate(self)
|
DistributedObject.DistributedObject.generate(self)
|
||||||
self.gotStringParentToken = 0
|
self.gotStringParentToken = 0
|
||||||
if wantOtpServer:
|
|
||||||
parentId, zoneId = self.getLocation()
|
#if wantOtpServer:
|
||||||
# reparent to parent
|
# parentId, zoneId = self.getLocation()
|
||||||
parent = base.cr.doId2do.get(parentId)
|
# # reparent to parent
|
||||||
if parent and isinstance(parent, NodePath):
|
# parent = base.cr.doId2do.get(parentId)
|
||||||
if self.getParent() != parent:
|
# if parent and isinstance(parent, NodePath):
|
||||||
print "generate: reparenting %s to %s" % (self, parent)
|
# if self.getParent() != parent:
|
||||||
# Comment out for now - JAY
|
# print "generate: reparenting %s to %s" % (self, parent)
|
||||||
# self.wrtReparentTo(parent)
|
# self.wrtReparentTo(parent)
|
||||||
|
|
||||||
|
|
||||||
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