Commit 895cd6a7 authored by T.J. Corona's avatar T.J. Corona
Browse files

Delaunay: TriangulateFace creates a new mesh collection.

parent 3203284e
......@@ -102,17 +102,10 @@ OperatorResult TriangulateFace::operateInternal()
excise(p_sub, mesh);
// remove the original collection and grab the collection with the same id as
// the model
// construct a collection and associate it with the face's model
smtk::mesh::CollectionPtr collection =
if (!collection)
// If we can't find this collection, we can create it
collection = this->session()->meshManager()->makeCollection(
// populate the new collection
smtk::extension::delaunay::io::ImportDelaunayMesh importFromDelaunayMesh;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment