mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
*** empty log message ***
This commit is contained in:
parent
d5956b649c
commit
071e23c07f
@ -41,12 +41,17 @@ class ClientDistUpdate:
|
|||||||
# Look up the function
|
# Look up the function
|
||||||
#assert(aClass.__dict__.has_key(self.name))
|
#assert(aClass.__dict__.has_key(self.name))
|
||||||
#func = aClass.__dict__[self.name]
|
#func = aClass.__dict__[self.name]
|
||||||
func = eval(cdc.name + "." + cdc.name + "." + self.name)
|
|
||||||
print("Calling: " + cdc.name + "." + cdc.name + "." + self.name)
|
# HACK HACK HACK HACK!!!!!
|
||||||
# Get the arguments into a list
|
try:
|
||||||
args = self.extractArgs(di)
|
do.LocalToon_initialized
|
||||||
# Apply the function to the object with the arguments
|
except:
|
||||||
apply(func, [do] + args)
|
func = eval(cdc.name + "." + cdc.name + "." + self.name)
|
||||||
|
print("Calling: " + cdc.name + "." + cdc.name + "." + self.name)
|
||||||
|
# Get the arguments into a list
|
||||||
|
args = self.extractArgs(di)
|
||||||
|
# Apply the function to the object with the arguments
|
||||||
|
apply(func, [do] + args)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def extractArgs(self, di):
|
def extractArgs(self, di):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user