mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
fix compilation
This commit is contained in:
parent
345e42b373
commit
f9e5feeb9e
@ -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<CMeshO,CMeshO>::Mesh(pPoints->cm, ref->cm); // the last true means "copy all vertices"
|
||||
vcg::tri::UpdateBounding<CMeshO>::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<CMeshO,MlsSurface<CMeshO> > MlsWalker;
|
||||
typedef vcg::tri::MarchingCubes<CMeshO, MlsWalker> MlsMarchingCubes;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user