mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Fix to last commit
This commit is contained in:
parent
ff2b944067
commit
f12370d40e
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ class Mobject(Container):
|
|||
|
||||
def reduce_across_dimension(self, points_func, reduce_func, dim):
|
||||
points = self.get_all_points()
|
||||
if not points:
|
||||
if points is None or len(points) == 0:
|
||||
# Note, this default means things like empty VGroups
|
||||
# will appear to have a center at [0, 0, 0]
|
||||
return 0
|
||||
|
|
Loading…
Add table
Reference in a new issue