Commit 6a3e33f5 authored by T.J. Corona's avatar T.J. Corona Committed by Kitware Robot
Browse files

Merge topic 'delaunay-triangulate-create-collection'


 Delaunay: TriangulateFace creates a new mesh collection.
Acked-by: Kitware Robot's avatarKitware Robot <>
Acked-by: Haocheng LIU's avatarHaocheng Liu <>
Merge-request: !534
parents 3203284e 895cd6a7
......@@ -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