mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Add back accidentally deleted reverse_points code
This commit is contained in:
parent
71ef39ea5b
commit
ce5d0b61f9
1 changed files with 3 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue