Open bentoogood opened 11 years ago
What do you want to happen when there are different numbers of script editors in the two layouts? And what do you want to happen when switching from a layout with one, to a layout without one, and back again?
I suspect this issue will be relevant to other editor types too once we've implemented options for the viewer and suchlike. Perhaps we can wait till we've done some of that work and then address it all as a whole?
Feels like we need some notion of the 'primary' instance of an editor (+ 'secondary', & so on) for just this kind of thing. (i'm thinking also of 'double click on a node opens in 'primary' NodeEditor). The first editor that was opened? The last editor to be used?
Would be good to have the content of both the input and output fields persisted when the layout changed.