Temporary fix for PMobject array resizing

This commit is contained in:
Grant Sanderson 2021-10-01 12:33:52 -07:00
parent d45ea28dc1
commit b543cc0e32

View file

@ -14,6 +14,8 @@ class PMobject(Mobject):
def resize_points(self, size, resize_func=resize_array):
# TODO
for key in self.data:
if key == "bounding_box":
continue
if len(self.data[key]) != size:
self.data[key] = resize_array(self.data[key], size)
return self