Ver código fonte

lingering PlainObjectBase copy

Former-commit-id: 0bf87dd88bd3e7beb4c53c9e5d3ce2460084f21a
Alec Jacobson 7 anos atrás
pai
commit
59ee053be7
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      include/igl/readMESH.cpp

+ 2 - 0
include/igl/readMESH.cpp

@@ -6,6 +6,7 @@
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // v. 2.0. If a copy of the MPL was not distributed with this file, You can 
 // obtain one at http://mozilla.org/MPL/2.0/.
 // obtain one at http://mozilla.org/MPL/2.0/.
 #include "readMESH.h"
 #include "readMESH.h"
+#include <iostream>
 
 
 template <typename Scalar, typename Index>
 template <typename Scalar, typename Index>
 IGL_INLINE bool igl::readMESH(
 IGL_INLINE bool igl::readMESH(
@@ -400,6 +401,7 @@ IGL_INLINE bool igl::readMESH(
   int tri[3];
   int tri[3];
   for(int i = 0;i<number_of_triangles;i++)
   for(int i = 0;i<number_of_triangles;i++)
   {
   {
+    std::cout<<i<<std::endl;
     if(4 != fscanf(mesh_file," %d %d %d %d",&tri[0],&tri[1],&tri[2],&extra))
     if(4 != fscanf(mesh_file," %d %d %d %d",&tri[0],&tri[1],&tri[2],&extra))
     {
     {
       printf("Error: expecting triangle indices...\n");
       printf("Error: expecting triangle indices...\n");