mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
*** empty log message ***
This commit is contained in:
parent
933b12bbeb
commit
65b5240293
@ -68,6 +68,10 @@ class Actor(PandaObject, NodePath):
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
try:
|
||||||
|
self.Actor_initialized
|
||||||
|
except:
|
||||||
|
self.Actor_initialized = 1
|
||||||
# initial our NodePath essence
|
# initial our NodePath essence
|
||||||
NodePath.__init__(self)
|
NodePath.__init__(self)
|
||||||
|
|
||||||
@ -121,7 +125,7 @@ class Actor(PandaObject, NodePath):
|
|||||||
|
|
||||||
# copy the anim dictionary from other
|
# copy the anim dictionary from other
|
||||||
self.__copyAnimControls(other)
|
self.__copyAnimControls(other)
|
||||||
|
return None
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
"""__str__(self)
|
"""__str__(self)
|
||||||
|
@ -7,8 +7,10 @@ class DistributedActor(DistributedNode.DistributedNode, Actor.Actor):
|
|||||||
"""Distributed Actor class:"""
|
"""Distributed Actor class:"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
try:
|
||||||
|
self.DistributedActor_initialized
|
||||||
|
except:
|
||||||
|
self.DistributedActor_initialized = 1
|
||||||
|
return None
|
||||||
|
|
||||||
def generateInit(self, di):
|
|
||||||
DistributedNode.DistributedNode.generateInit(self, di)
|
|
||||||
|
|
||||||
|
@ -7,7 +7,11 @@ class DistributedNode(DistributedObject.DistributedObject, NodePath.NodePath):
|
|||||||
"""Distributed Node class:"""
|
"""Distributed Node class:"""
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
try:
|
||||||
|
self.DistributedNode_initialized
|
||||||
|
except:
|
||||||
|
self.DistributedNode_initialized = 1
|
||||||
|
return None
|
||||||
|
|
||||||
def generateInit(self, di):
|
def generateInit(self, di):
|
||||||
DistributedObject.DistributedObject.generateInit(self, di)
|
DistributedObject.DistributedObject.generateInit(self, di)
|
||||||
|
@ -5,13 +5,17 @@ from PandaObject import *
|
|||||||
class DistributedObject(PandaObject):
|
class DistributedObject(PandaObject):
|
||||||
"""Distributed Object class:"""
|
"""Distributed Object class:"""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
try:
|
||||||
|
self.DistributedObject_initialized
|
||||||
|
except:
|
||||||
|
self.DistributedObject_initialized = 1
|
||||||
|
return None
|
||||||
|
|
||||||
def getDoId(self):
|
def getDoId(self):
|
||||||
"""getDoId(self)
|
"""getDoId(self)
|
||||||
Return the distributed object id
|
Return the distributed object id
|
||||||
"""
|
"""
|
||||||
return self.__doId
|
return self.doId
|
||||||
|
|
||||||
def updateRequiredFields(self, cdc, di):
|
def updateRequiredFields(self, cdc, di):
|
||||||
for i in cdc.allRequiredCDU:
|
for i in cdc.allRequiredCDU:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user