mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Be sure reverse_points changes data in place
This commit is contained in:
parent
ce7422f8af
commit
fa1080d59a
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class Mobject(object):
|
|||
@affects_family_data
|
||||
def reverse_points(self) -> Self:
|
||||
for mob in self.get_family():
|
||||
mob.data = mob.data[::-1]
|
||||
mob.data[:] = mob.data[::-1]
|
||||
return self
|
||||
|
||||
@affects_family_data
|
||||
|
|
Loading…
Add table
Reference in a new issue