mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix for ShowCreation on SGroups, like Cube
This commit is contained in:
parent
1084dfb681
commit
e8f288f753
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue