mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 14:03:59 +08:00
Default to resizing_preserving_order in set_points
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user