mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
Fixed a problem of not overriding _do__call__ function in ActionBase
This commit is contained in:
parent
f0b2d1ec65
commit
451e10e3e3
@ -54,6 +54,9 @@ class ActionBase(Functor):
|
||||
self.postCall()
|
||||
return self.result
|
||||
|
||||
# needed this line to override _do__call__
|
||||
__call__ = _do__call__
|
||||
|
||||
def redo(self):
|
||||
self.result = self._do__call__()
|
||||
return self.result
|
||||
|
Loading…
x
Reference in New Issue
Block a user