mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
updated to the new Append syntax
This commit is contained in:
parent
d00c157c86
commit
a35765afe4
@ -157,7 +157,7 @@ bool FilterSplitterPlugin::applyFilter(QAction *filter, MeshDocument &md, RichPa
|
||||
// that is the back one
|
||||
MeshModel *currentMesh = md.mm(); // source = current
|
||||
MeshModel *destMesh= md.addNewMesh("duplicated"); // After Adding a mesh to a MeshDocument the new mesh is the current one
|
||||
tri::Append<CMeshO,CMeshO>::Mesh(destMesh->cm, currentMesh->cm, false, true); // the last true means "copy all vertices"
|
||||
tri::Append<CMeshO,CMeshO>::Mesh(destMesh->cm, currentMesh->cm);
|
||||
|
||||
Log(GLLogStream::FILTER,"Duplicated current model to layer %i", md.meshList.size());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user