Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fix: changed minor typo in OpenGLVMobject (#3302)

Zachary Winkeler56bc8add6166
diff --git a/manim/mobject/opengl/opengl_vectorized_mobject.py b/manim/mobject/opengl/opengl_vectorized_mobject.py
index d270ec6d4..6365c1aed 100644
--- a/manim/mobject/opengl/opengl_vectorized_mobject.py
+++ b/manim/mobject/opengl/opengl_vectorized_mobject.py
@@ -1301,7 +1301,7 @@ class OpenGLVMobject(OpenGLMobject):
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(tri2) or not np.all(tri1 == tri2):
self.refresh_triangulation()
return self