mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Ensure joint_products are computed at both the start and end of an animation
This commit is contained in:
@ -1262,11 +1262,10 @@ class VMobject(Mobject):
|
||||
|
||||
def set_animating_status(self, is_animating: bool, recurse: bool = True):
|
||||
super().set_animating_status(is_animating, recurse)
|
||||
if is_animating:
|
||||
for submob in self.get_family(recurse):
|
||||
submob.get_joint_products(refresh=True)
|
||||
if not submob._use_winding_fill:
|
||||
submob.get_triangulation()
|
||||
for submob in self.get_family(recurse):
|
||||
submob.get_joint_products(refresh=True)
|
||||
if not submob._use_winding_fill:
|
||||
submob.get_triangulation()
|
||||
return self
|
||||
|
||||
# For shaders
|
||||
|
Reference in New Issue
Block a user