Resolve "fix(viz): Renaming a landmark creates a "ghost" landmark which is impossible to interact with"
requested to merge 855-fix-viz-renaming-a-landmark-creates-a-ghost-landmark-which-is-impossible-to-interact-with into dev
Description
An additional slot renameGroup(std::string, std::string)
is added in the scene3D's adaptor for landmarks(scene3D::adaptor::SLandmarks
). The latter slot is then connected to the group renamed
landmarks' signal.
Closes #855 (closed)
How to test it?
- Start SightViewer
- Load an ITK file
- Create a new landmark with Ctrl+Left Click
- Rename it in the Landmark list
- Only one landmark should appear with the right name.