Parcourir la source

fix strange logical warning

Alec Jacobson il y a 5 ans
Parent
commit
aafb6870c7
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);
       }