[mitk-users] Loading scene

2016-03-04 Thread Nil Goyette
Hi all,

Is there some bool or signal to know if we are currently loading a 
scene? Some kind of warning? It would be nice to have that because I'm 
doing some work in NodeAdded and it's totally useless (and buggy) if 
there's still some data to load. I want to delay the work until the 
scene has finished loading.

Nil

--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users


[mitk-users] Scene properties

2016-03-04 Thread Nil Goyette
Hi all,

Is there a concept of scene property? I have some parameters(widget) in 
my plugin, like MinFiberLength, MaxFiberLength, etc. which are not saved 
when I save the scene. These parameters don't belong to any node, and 
they don't fit as a Preference because the user will probably change 
them when loading other data. That leaves me with "scene property", but 
I don't think they exist.

My plan is to put the properties in a hidden node, but it does seem like 
an hack. It's still the less hackish method I can find without modifying 
MITK's code. Is there a right way to do that?

Nil

--
___
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users