mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
ApplyMethod now creates a deep copy of the object it works on
This commit is contained in:
@ -137,7 +137,7 @@ class ApplyMethod(Transform):
|
||||
)
|
||||
assert(isinstance(method.im_self, Mobject))
|
||||
method_kwargs = kwargs.get("method_kwargs", {})
|
||||
target = method.im_self.copy()
|
||||
target = method.im_self.deepcopy()
|
||||
method.im_func(target, *args, **method_kwargs)
|
||||
Transform.__init__(self, method.im_self, target, **kwargs)
|
||||
|
||||
|
Reference in New Issue
Block a user