Skip to content

Fix closing sessions.

David Thompson requested to merge dcthomp/smtk:fix-close-session into master
  • Add a hardErase() method to the model manager to erase data without consistency checking.
  • Make model manager's closeSession() method use hardErase() to avoid infinite loops.
  • Add missing implementation for finding relationship duals. This fixes removal of the model->parent session relationship when calling setSession() on a model to reparent it after loading entities from an SMTK file.
  • Reparent and delete old session when loading SMTK files; this should prevent multiple sessions of the same type when loading SMTK files after a session of the same type has already been started. It also means that session UUIDs are not persistent. This should not be a big deal.

This should close #141 (closed) .

Merge request reports

Loading