mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Don't copy Mobject attrs which are mobject but not family members
This commit is contained in:
parent
d6bf9f00a1
commit
aaea3f40f6
1 changed files with 0 additions and 2 deletions
|
@ -565,8 +565,6 @@ class Mobject(object):
|
|||
if isinstance(value, Mobject) and value is not self:
|
||||
if value in family:
|
||||
setattr(result, attr, result.family[self.family.index(value)])
|
||||
else:
|
||||
setattr(result, attr, value.copy())
|
||||
if isinstance(value, np.ndarray):
|
||||
setattr(result, attr, value.copy())
|
||||
if isinstance(value, ShaderWrapper):
|
||||
|
|
Loading…
Add table
Reference in a new issue