diff --git a/vcg/complex/trimesh/refine.h b/vcg/complex/trimesh/refine.h index 95884d8d..4bbe809a 100644 --- a/vcg/complex/trimesh/refine.h +++ b/vcg/complex/trimesh/refine.h @@ -315,7 +315,7 @@ bool RefineE(MESH_TYPE &m, MIDPOINT mid, EDGEPRED ep,bool RefineSelected=false, // Callback stuff int step=0; - int PercStep=max(1,m.fn/33); + int PercStep=std::max(1,m.fn/33); // First Loop: We analyze the mesh to compute the number of the new faces and new vertices FaceIterator fi;