Default to resizing_preserving_order in set_points

This commit is contained in:
Grant Sanderson
2023-01-16 13:28:09 -08:00
parent c23f020d9a
commit ae50748717

View File

@ -185,7 +185,7 @@ class Mobject(object):
return self
def set_points(self, points: Vect3Array):
self.resize_points(len(points))
self.resize_points(len(points), resize_func=resize_preserving_order)
self.data["point"][:] = points
return self