|
@@ -115,13 +115,16 @@ class DistributedNodePathEntity(DistributedEntity.DistributedEntity,
|
|
|
NodePath.NodePath, NodePathAttribs):
|
|
NodePath.NodePath, NodePathAttribs):
|
|
|
def __init__(self, cr):
|
|
def __init__(self, cr):
|
|
|
DistributedEntity.DistributedEntity.__init__(self, cr)
|
|
DistributedEntity.DistributedEntity.__init__(self, cr)
|
|
|
|
|
+
|
|
|
|
|
+ def generateInit(self):
|
|
|
|
|
+ DistributedEntity.DistributedEntity.generateInit(self)
|
|
|
node = hidden.attachNewNode('DistributedNodePathEntity')
|
|
node = hidden.attachNewNode('DistributedNodePathEntity')
|
|
|
NodePath.NodePath.__init__(self, node)
|
|
NodePath.NodePath.__init__(self, node)
|
|
|
|
|
|
|
|
def announceGenerate(self):
|
|
def announceGenerate(self):
|
|
|
DistributedEntity.DistributedEntity.announceGenerate(self)
|
|
DistributedEntity.DistributedEntity.announceGenerate(self)
|
|
|
self.initNodePathAttribs(self)
|
|
self.initNodePathAttribs(self)
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
def delete(self):
|
|
def delete(self):
|
|
|
self.removeNode()
|
|
self.removeNode()
|
|
|
DistributedEntity.DistributedEntity.delete(self)
|
|
DistributedEntity.DistributedEntity.delete(self)
|