Don't copy Mobject attrs which are mobject but not family members

This commit is contained in:
Grant Sanderson 2022-04-25 10:26:07 -07:00
parent d6bf9f00a1
commit aaea3f40f6

View file

@ -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):