mirror of
https://github.com/3b1b/manim.git
synced 2025-08-01 17:29:06 +08:00
Default to resizing_preserving_order in set_points
This commit is contained in:
@ -185,7 +185,7 @@ class Mobject(object):
|
|||||||
return self
|
return self
|
||||||
|
|
||||||
def set_points(self, points: Vect3Array):
|
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
|
self.data["point"][:] = points
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user