mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
*** empty log message ***
This commit is contained in:
parent
b5441ee6de
commit
eb199b3f47
@ -43,17 +43,10 @@ class ClientDistUpdate:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def updateField(self, cdc, do, di):
|
def updateField(self, cdc, do, di):
|
||||||
|
|
||||||
#func = eval(cdc.name + "." + cdc.name + "." + self.name)
|
|
||||||
#print("Calling: " + cdc.name + "." + cdc.name + "." + self.name +
|
|
||||||
# " for do " + str(do.getDoId()))
|
|
||||||
|
|
||||||
# Get the arguments into a list
|
# Get the arguments into a list
|
||||||
args = self.extractArgs(di)
|
args = self.extractArgs(di)
|
||||||
|
|
||||||
# Apply the function to the object with the arguments
|
# Apply the function to the object with the arguments
|
||||||
apply(self.func, [do] + args)
|
apply(self.func, [do] + args)
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def extractArgs(self, di):
|
def extractArgs(self, di):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user