fix: changed minor typo in OpenGLVMobject (#3302)

A conditional in interpolate() was previously checking the same triangulation twice.
This commit is contained in:
Zachary Winkeler 2023-07-24 06:46:07 -04:00 committed by GitHub
commit 56bc8add61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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