currentDataMask is now private

This commit is contained in:
Paolo Cignoni cignoni 2009-09-06 07:48:03 +00:00
parent 171ff8f70a
commit 0f4f4b12bf

View File

@ -409,7 +409,7 @@ bool MlsPlugin::applyFilter(QAction* filter, MeshDocument& md, RichParameterSet&
// clone the control mesh
MeshModel* ref = par.getMesh("ControlMesh");
pPoints = new MeshModel();
pPoints->updateDataMask(ref->currentDataMask);
pPoints->updateDataMask(ref);
vcg::tri::Append<CMeshO,CMeshO>::Mesh(pPoints->cm, ref->cm, false, true); // the last true means "copy all vertices"
vcg::tri::UpdateBounding<CMeshO>::Box(pPoints->cm);
pPoints->cm.Tr = ref->cm.Tr;