Recompute joint angle at the end of align_points

This commit is contained in:
Grant Sanderson
2023-01-10 16:01:52 -08:00
parent e5b17aad69
commit 470e7bee1e

View File

@ -852,6 +852,8 @@ class VMobject(Mobject):
new_subpaths2.append(sp2)
self.set_points(np.vstack(new_subpaths1))
vmobject.set_points(np.vstack(new_subpaths2))
for mob in (self, vmobject):
mob.get_joint_angles()
return self
def insert_n_curves(self, n: int, recurse: bool = True):