mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Ensure joint_products are refreshed for _AnimationBuilder
This commit is contained in:
parent
3e3e4de5e9
commit
b39fbb62f4
2 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Transform(Animation):
|
|||
# preserved, since calling align_data will potentially
|
||||
# change the structure of both arguments
|
||||
self.target_copy = self.target_mobject.copy()
|
||||
self.mobject.align_data_and_family(self.target_copy)
|
||||
self.mobject.align_data_and_family(self.target_copy)
|
||||
super().begin()
|
||||
if not self.mobject.has_updaters:
|
||||
self.mobject.lock_matching_data(
|
||||
|
|
|
@ -899,6 +899,8 @@ class VMobject(Mobject):
|
|||
self.has_same_shape_as(vmobject)
|
||||
if match_tris:
|
||||
vmobject.triangulation = self.triangulation
|
||||
for mob in [self, vmobject]:
|
||||
mob.get_joint_products()
|
||||
return self
|
||||
|
||||
for mob in self, vmobject:
|
||||
|
|
Loading…
Add table
Reference in a new issue