mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
ApplyMethod now creates a deep copy of the object it works on
This commit is contained in:
parent
14d2d8fecb
commit
21345a6259
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue