mirror of
https://github.com/3b1b/manim.git
synced 2025-08-19 13:01:00 +00:00
Default to resizing_preserving_order in set_points
This commit is contained in:
parent
c23f020d9a
commit
ae50748717
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue