Skip to content

Commit b543cc0

Browse files
committed
Temporary fix for PMobject array resizing
1 parent d45ea28 commit b543cc0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

manimlib/mobject/types/point_cloud_mobject.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ class PMobject(Mobject):
1414
def resize_points(self, size, resize_func=resize_array):
1515
# TODO
1616
for key in self.data:
17+
if key == "bounding_box":
18+
continue
1719
if len(self.data[key]) != size:
1820
self.data[key] = resize_array(self.data[key], size)
1921
return self

0 commit comments

Comments
 (0)