mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 12:32:36 +08:00
Ensure align_family works well with VMobject fill
This commit is contained in:
@ -1673,10 +1673,13 @@ class Mobject(object):
|
||||
for submob, sf in zip(self.submobjects, split_factors):
|
||||
new_submobs.append(submob)
|
||||
for k in range(1, sf):
|
||||
new_submobs.append(submob.copy().scale(0))
|
||||
new_submobs.append(submob.invisible_copy())
|
||||
self.set_submobjects(new_submobs)
|
||||
return self
|
||||
|
||||
def invisible_copy(self):
|
||||
return self.copy().set_opacity(0)
|
||||
|
||||
# Interpolate
|
||||
|
||||
def interpolate(
|
||||
|
Reference in New Issue
Block a user