mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 04:23:16 +08:00
Be sure reverse_points changes data in place
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user