mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
replace task bug
This commit is contained in:
parent
7b7b973a7a
commit
2e01bf163f
@ -516,7 +516,7 @@ class TaskManager:
|
||||
|
||||
def __tryReplaceTaskMethod(self, task, oldMethod, newFunction):
|
||||
if not isinstance(task, PythonTask):
|
||||
return
|
||||
return 0
|
||||
|
||||
method = task.getFunction()
|
||||
if (type(method) == types.MethodType):
|
||||
|
Loading…
x
Reference in New Issue
Block a user