-
assigned issue to
States in NodeProperties are loosed when change the Variable Type
Issue #224
resolved
In a node with fiinte states, if the variable type (In Node properties\Domain tab) is changed between "Finite states", "Discretized", and "Numeric" and then the frame is closed (canceling the actions) the node loose its states.
1 - Open the properties of a node with finite states 2 - Change variable type to "Numeric" 3 - Return to finite states or cancel the action
If we return to "finite states" variable type, we note that the states represented are the default ones (absent/present). If we reopen the properties of the node, the list of states is empty (crashing the table of potentials too)
Comments (2)
-
-
reporter - changed status to resolved
Now the initial states are being saved to restore them when you change the type of the variable. Minimal changes in the structure of the class.
- Log in to comment