updated calls to append::mesh

This commit is contained in:
Fabio Ganovelli ganovelli 2010-06-18 11:48:43 +00:00
parent b7d12e4af8
commit d00c157c86

View File

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