parent
622a67ccc9
commit
42a5755fb0
|
@ -100,7 +100,7 @@ static int Open( MESH_TYPE &m, const char * filename, CallBackPos *cb=0, bool tr
|
|||
|
||||
Point3f pp;
|
||||
float q;
|
||||
int cnt=0;
|
||||
size_t cnt=0;
|
||||
int ret;
|
||||
char buf[1024];
|
||||
|
||||
|
@ -140,7 +140,7 @@ static int Open( MESH_TYPE &m, const char * filename, CallBackPos *cb=0, bool tr
|
|||
}
|
||||
cnt=m.vert.size();
|
||||
qDebug("Grid is %i x %i = %i (%i) ",i,cnt/i,i* (cnt/i),cnt);
|
||||
tri::FaceGrid(m,i,cnt/i);
|
||||
tri::FaceGrid(m,i,int(cnt/i));
|
||||
tri::Clean<CMeshO>::FlipMesh(m);
|
||||
return E_NOERROR;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue