Skip to content

Commit 56bc8ad

Browse files
fix: changed minor typo in OpenGLVMobject (ManimCommunity#3302)
A conditional in interpolate() was previously checking the same triangulation twice.
1 parent 1c75a91 commit 56bc8ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/mobject/opengl/opengl_vectorized_mobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ def interpolate(self, mobject1, mobject2, alpha, *args, **kwargs):
13011301
if self.has_fill():
13021302
tri1 = mobject1.get_triangulation()
13031303
tri2 = mobject2.get_triangulation()
1304-
if len(tri1) != len(tri1) or not np.all(tri1 == tri2):
1304+
if len(tri1) != len(tri2) or not np.all(tri1 == tri2):
13051305
self.refresh_triangulation()
13061306
return self
13071307

0 commit comments

Comments
 (0)