Hi Stefan, with auto-layering you mean the adjustment of the layer property in void QmitkDataStorageTreeModel::AdjustLayerProperty(), right? In contrast to Ingmar's way of handling layers I am not really using them because I do not need the 2D render windows. And I also do not set the "fixedLayer". I think in my application the auto-layering is not working because my app is not based on the workbench but on the quick render qml example (QmitkDataStorageTreeModel is not used). Wouldn't it make more sense to move this functionality somewhere else? Somewhere where it is independent of QT?
Thanks for your support. Best Martin On 31.03.2015 17:42, Kislinskiy, Stefan wrote: > Hi Martin, > > I agree with you, this is definitely a bug and we'll try to fix it for the > upcoming release. I guess the reason why this isn't fixed already is that it > is a quite exotic use case to override the auto-layering of MITK (with the > fixedLayer property). :) > > Cheers, > Stefan > > -----Original Message----- > From: Martin Klemm [mailto:martin.kl...@hs-offenburg.de] > Sent: Freitag, 27. März 2015 12:39 > To: mitk-users@lists.sourceforge.net > Subject: [mitk-users] Saving/Loading scenes with objects that have the same > layer property > > Hi, > > my problem is similar to the one described in this bug > http://bugs.mitk.org/show_bug.cgi?id=18168 > > I have several objects in the scene that I want to save and load. I do not > have a 2D window which is why I do not use the layer property. > Therefore, it is always set to 0 or 1. Saving the scene works without a > problem but the loading does not. > > I figured out that the reading process itself works but afterwards the read > nodes together with its layer property are stored in a map. Then, the nodes > are read according to their layer property. So if there are two nodes with > the same layer property just the first one is read. My workaround is to set > the layer property to a unique value. But this is an essential bug from my > point of view. How is it possible that nobody fixed this so far. Is there > another way to solve this problem? > > Thanks. > > Regards > > Martin > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > mitk-users mailing list > mitk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mitk-users > -- Martin Klemm Hochschule Offenburg Badstraße 24 77652 Offenburg Tel. +49 781 / 205 - 4681 -----BEGIN PGP PUBLIC K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idltWdh9fjqZwYnz6Y8ASjJGVgf12i2P8Mpbx7QHYecHt nnvj4x8t9yw9h1QPdfvTIFvqp0L2MDdeAdnFhMPhNHY7RtudLuQlLDIGFqPGScJQ EKiH3Upc9HADUO4vh6mT6OzOWhLu6cwu1XCmh74sKD+UblgOG/fd7AhDABEBAAGJ ASUEGAECAA8FAlLmUekCGwwFCQlmAYAACgkQtianP0hmYim/JggAlcwN5b/qBObo 65/GMIX4VXb+f6/U7F6tc/KOFyypWYN6aJ3StwBbkFfeEd2ZeuTmMNyG49rxBUpl z9JcEB27YPYGGh1aJWeVDpqSV6VMTSnJC+Dlsm1eAktpWhTCgs9yeh2RY+HWfIil XR97+TiaznySTNqVs94zX7ynBg1Tjh+tZJgU8HUXAsuWQACWrmKHVH+ggSaBePmH 5em0wBkQD+VxYlVe00lNRnJvBtP0cRys4mRDWJYJb6mlDxQ8nv8krsDT6lUeRsYU ct8cU8YCERNyAJ+bH2y14ymer1k+vhZaHc5Fwrj9Jwbs1YVLpOZeaX66kDdkfWbR tjzbWAp3EQ== =6Xht -----END PGP PUBLIC KEY BLOCK----- ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users