(core): OgreViewer doesn't read properly json with modelSeries
Summary
OgreViewer seems to not read properly json(z) with modelSeries.
In fact it seems that when using ioAtoms::SReader
the signal SeriesDB::addedSeries
isn't sent ( maybe this is intended since the reader is working at fwData::Object level).
Steps to reproduce
Use OgreViewer, select JSON as reader and open the attached json file.
Nothing should happen...
Dev environment
Latest dev branch on sight, all OS concerned.
Possible fixes
The dumbest way to resolve this is too add
<connect>
<signal>seriesDB/modified</signal>
<slot>extractImageSrv/update</slot>
<slot>extractMeshSrv/update</slot>
</connect>
in the plugin.xml of OgreViewer, to also connect the modified signal of SeriesDB to the SCopy
.
Maybe there is a more cleaner solution.