Fix for ShowCreation on SGroups, like Cube

This commit is contained in:
Grant Sanderson 2021-02-07 17:52:56 -08:00
parent 1084dfb681
commit e8f288f753

View file

@ -116,6 +116,8 @@ class Surface(Mobject):
return self
def get_partial_points_array(self, points, a, b, resolution, axis):
if len(points) == 0:
return points
nu, nv = resolution[:2]
points = points.reshape(resolution)
max_index = resolution[axis] - 1