mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-28 07:48:37 -04:00
*** empty log message ***
This commit is contained in:
parent
d5956b649c
commit
071e23c07f
@ -41,12 +41,17 @@ class ClientDistUpdate:
|
||||
# Look up the function
|
||||
#assert(aClass.__dict__.has_key(self.name))
|
||||
#func = aClass.__dict__[self.name]
|
||||
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)
|
||||
|
||||
# HACK HACK HACK HACK!!!!!
|
||||
try:
|
||||
do.LocalToon_initialized
|
||||
except:
|
||||
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
|
||||
|
||||
def extractArgs(self, di):
|
||||
|
Loading…
x
Reference in New Issue
Block a user