fixed copying problem in animation

This commit is contained in:
Ben Hambrecht
2018-02-06 11:13:55 +01:00
parent 6a0b0c8742
commit ceccddd262

View File

@ -367,7 +367,7 @@ class Scene(Container):
animations.pop()
#method should already have target then.
else:
mobject.target = mobject.copy()
mobject.target = mobject.deepcopy()
#
if len(state["method_args"]) > 0 and isinstance(state["method_args"][-1], dict):
method_kwargs = state["method_args"].pop()