mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
updated calls to append::mesh
This commit is contained in:
parent
6a4c6455d3
commit
b382947ec3
@ -137,7 +137,9 @@ bool SampleFilterDocPlugin::applyFilter(QAction *filter, MeshDocument &md, RichP
|
||||
cb(cnt*100/md.meshList.size(), "Merging layers...");
|
||||
tri::UpdatePosition<CMeshO>::Matrix(mmp->cm,mmp->cm.Tr,true);
|
||||
toBeDeletedList.push_back(mmp);
|
||||
tri::Append<CMeshO,CMeshO>::Mesh(destMesh->cm,mmp->cm,false,alsounreferenced);
|
||||
if(!alsounreferenced)
|
||||
vcg::tri::Clean<CMeshO>::RemoveUnreferencedVertex(mmp->cm);
|
||||
tri::Append<CMeshO,CMeshO>::Mesh(destMesh->cm,mmp->cm);
|
||||
tri::UpdatePosition<CMeshO>::Matrix(mmp->cm,Inverse(mmp->cm.Tr),true);
|
||||
destMesh->updateDataMask(mmp);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user