Be sure reverse_points changes data in place

This commit is contained in:
Grant Sanderson 2023-06-10 09:21:32 -07:00
parent ce7422f8af
commit fa1080d59a

View file

@ -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