mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 13:34:19 +08:00
Bug fixes to new VMobject color model
This commit is contained in:
@ -127,6 +127,8 @@ class Mobject(Container):
|
||||
for attr, value in list(self.__dict__.items()):
|
||||
if isinstance(value, Mobject) and value in family and value is not self:
|
||||
setattr(copy_mobject, attr, value.copy())
|
||||
if isinstance(value, np.ndarray):
|
||||
setattr(copy_mobject, attr, np.array(value))
|
||||
return copy_mobject
|
||||
|
||||
def deepcopy(self):
|
||||
|
Reference in New Issue
Block a user