CGM test crashes
The CGM session has a problem in the SessionAddTessellation()
function. Around line 911 of smtk/bridge/cgm/Session.cxx
, the function calls
smtk::mesh::CollectionPtr collection =
entityref.owningSession().manager()->meshes
collection(entityref.owningModel().entity()
which is crashing the cgmSolidModeling test for me. This appears to happen because the model is only partially valid when the tessellation is added; owningSession()
returns an invalid result because the entity's owning face and model haven't been set yet, so the owning session cannot be determined.