diff --git a/wrap/io_trimesh/export_off.h b/wrap/io_trimesh/export_off.h index 5a230faf..0b702ca6 100644 --- a/wrap/io_trimesh/export_off.h +++ b/wrap/io_trimesh/export_off.h @@ -32,6 +32,7 @@ #include #include #include +#include namespace vcg { @@ -107,12 +108,12 @@ namespace vcg { if (mask &io::Mask::IOM_BITPOLYGONAL) { - vector polygon; + std::vector polygon; for(fi=m.face.begin();fi!=m.face.end();++fi) if (!fi->IsD()) fi->ClearV(); for(fi=m.face.begin();fi!=m.face.end();++fi) if (!fi->IsD()) if (!fi->IsV()) { vcg::tri::PolygonSupport::ExtractPolygon(&*fi,polygon); fprintf(fpout,"%d ", polygon.size() ); - for (int i=0; iUberFlags() ); + for (size_t i=0; iUberFlags() ); fprintf(fpout,"\n"); } }