Preliminary end to eoc5 animations

This commit is contained in:
Grant Sanderson
2017-03-14 15:50:16 -07:00
parent c2178fd45b
commit 315886de5b
8 changed files with 1575 additions and 55 deletions

View File

@ -130,7 +130,8 @@ class ApplyMethod(Transform):
"the method you want to animate"
)
assert(isinstance(method.im_self, Mobject))
target = copy.deepcopy(method)(*args)
method_kwargs = kwargs.get("method_kwargs", {})
target = copy.deepcopy(method)(*args, **method_kwargs)
Transform.__init__(self, method.im_self, target, **kwargs)