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:[email protected]] 
Sent: Freitag, 27. März 2015 12:39
To: [email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to