Corrected wrong call to the internal fan triangulator in off importer

This commit is contained in:
Paolo Cignoni 2012-11-07 06:59:01 +00:00
parent 7bc4277fcd
commit 3e81ac032f
1 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#include<vcg/complex/algorithms/bitquad_support.h>
#include <wrap/callback.h>
#include <wrap/io_trimesh/io_mask.h>
#include <wrap/io_trimesh/import_obj.h>
namespace vcg
{
@ -455,7 +456,7 @@ namespace vcg
vcg::glu_tesselator::tesselate<vcg::Point3f>(loopVect, indexTriangulatedVect);
#else
//qDebug("Warning: using fan tessellation for a polygon of %i vertices",vertexesPerFace);
InternalFanTessellator(loopVect, indexTriangulatedVect);
ImporterOBJ<MESH_TYPE>::InternalFanTessellator(loopVect, indexTriangulatedVect);
#endif
for (int j=0; j<indexTriangulatedVect.size(); j+=3)
{