Add back accidentally deleted reverse_points code

This commit is contained in:
Grant Sanderson 2023-01-27 16:57:22 -08:00
parent 71ef39ea5b
commit ce5d0b61f9

View file

@ -1190,6 +1190,9 @@ class VMobject(Mobject):
continue
inner_ends = mob.get_subpath_end_indices()[:-1]
mob.data["point"][inner_ends + 1] = mob.data["point"][inner_ends + 2]
mob.data["unit_normal"] *= -1
super().reverse_points()
return self
@triggers_refreshed_triangulation
def set_data(self, data: np.ndarray):