mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
fix: changed minor typo in OpenGLVMobject (#3302)
A conditional in interpolate() was previously checking the same triangulation twice.
This commit is contained in:
parent
1c75a919fd
commit
56bc8add61
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue