diff --git a/vcg/complex/trimesh/smooth.h b/vcg/complex/trimesh/smooth.h index 5b624320..64df6ddb 100644 --- a/vcg/complex/trimesh/smooth.h +++ b/vcg/complex/trimesh/smooth.h @@ -1280,7 +1280,7 @@ static void VertexCoordPasoDobleFast(MeshType &m, int NormalSmoothStep, typename PDFaceInfo lpzf; lpzf.m=CoordType(0,0,0); - assert(HasVFAdjacency(m)); + assert(HasPerVertexVFAdjacency(m) && HasPerFaceVFAdjacency(m)); SimpleTempData< typename MeshType::VertContainer, PDVertInfo> TDV(m.vert,lpzv); SimpleTempData< typename MeshType::FaceContainer, PDFaceInfo> TDF(m.face,lpzf);