From f9e5feeb9e2ba5ef234bdd7d68e96fb4fb56dcb4 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud guennebaud Date: Thu, 13 Jan 2011 15:59:25 +0000 Subject: [PATCH] fix compilation --- src/meshlabplugins/filter_mls/mlsplugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshlabplugins/filter_mls/mlsplugin.cpp b/src/meshlabplugins/filter_mls/mlsplugin.cpp index 5cba87640..668659919 100644 --- a/src/meshlabplugins/filter_mls/mlsplugin.cpp +++ b/src/meshlabplugins/filter_mls/mlsplugin.cpp @@ -402,7 +402,7 @@ bool MlsPlugin::applyFilter(QAction* filter, MeshDocument& md, RichParameterSet& { // clone the control mesh MeshModel* ref = par.getMesh("ControlMesh"); - pPoints = md.addNewMesh(""); + pPoints = md.addNewMesh("","TempMesh"); pPoints->updateDataMask(ref); vcg::tri::Append::Mesh(pPoints->cm, ref->cm); // the last true means "copy all vertices" vcg::tri::UpdateBounding::Box(pPoints->cm); @@ -570,7 +570,7 @@ bool MlsPlugin::applyFilter(QAction* filter, MeshDocument& md, RichParameterSet& else if (id & _MCUBE_) { // create a new mesh - mesh = md.addNewMesh("mc_mesh"); + mesh = md.addNewMesh("","mc_mesh"); typedef vcg::tri::MlsWalker > MlsWalker; typedef vcg::tri::MarchingCubes MlsMarchingCubes;