medInria/medInria-public — pull request #141 by fvichot (2014-01-31 16:04:14+00:00)
Title: Fixed bug in layer order when data had attached data

When a data with attached data (typically what happens if you start a segmentation with the paint tool then close the view) was opened in a new view, the layer order would be messed up.
This was due to the attachedData being added by the v3dViewAnnotationInteractor half-way through the original image being added. Something to keep in mind while designing the view refactor : should interactors be allowed to add data to the view (I think yes), and if yes, make sure it doesn't mess up the layer order.