mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix bug where all members of a family pointed to the same rgba array
This commit is contained in:
parent
5e09a80c5b
commit
5f69899e65
1 changed files with 1 additions and 1 deletions
|
@ -714,7 +714,7 @@ class Mobject(object):
|
|||
for rgb, o in zip(*make_even(rgbs, opacities))
|
||||
])
|
||||
for mob in self.get_family(recurse):
|
||||
mob.data[name] = rgbas
|
||||
mob.data[name] = rgbas.copy()
|
||||
return self
|
||||
|
||||
def set_color(self, color, opacity=None, recurse=True):
|
||||
|
|
Loading…
Add table
Reference in a new issue