mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 13:34:19 +08:00
Use arr.all() instead of np.all(arr)
This commit is contained in:
@ -904,7 +904,7 @@ class VMobject(Mobject):
|
||||
if self.has_fill():
|
||||
tri1 = mobject1.get_triangulation()
|
||||
tri2 = mobject2.get_triangulation()
|
||||
if len(tri1) != len(tri1) or not np.all(tri1 == tri2):
|
||||
if len(tri1) != len(tri1) or not (tri1 == tri2).all():
|
||||
self.refresh_triangulation()
|
||||
return self
|
||||
|
||||
|
Reference in New Issue
Block a user