Browse Source

fix strange logical warning

Alec Jacobson 5 years ago
parent
commit
aafb6870c7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/igl/opengl/glfw/Viewer.cpp

+ 1 - 1
include/igl/opengl/glfw/Viewer.cpp

@@ -424,7 +424,7 @@ namespace glfw
       }
 
       data().set_mesh(V,F);
-      if(!UV_V.rows() != 0 && UV_F.rows() != 0)
+      if(UV_V.rows() != 0 && UV_F.rows() != 0)
       {
         data().set_uv(UV_V,UV_F);
       }