(core): fix SLandmarks by setting an optional input for the key "matrix"
Summary
In previous commits, uiMeasurementQt::SLandmarks
service has been updated to take an "optional" matrix input in order to take into account modifications that happened on the pickers.
By doing so, the optional input has probably not been set properly making setting Landmarks in applications like OgreViewer
not to working.
Steps to reproduce
Launch OgreViewer, load a Dicom image, try to set landmarks with a ctrl-right click. In your terminal, you should see an error message
Relevant logs and/or screenshots
Exception: <::fwData::Exception>: Service with ID 'OgreViewer_AppCfg_1_landmarksParameterSrv' cannot acquire a locked input with key 'matrix'.
Possible fixes
In uiMeasurementQt::SLandmarks
, set the matrix input optional.
Or edit the application's XML and pass an "empty" object.