Seneral / Node_Editor_Framework

A flexible and modular Node Editor Framework for creating node based displays and editors in Unity
https://nodeeditor.seneral.dev
MIT License
2.01k stars 414 forks source link

Popups broken with multiple simultaneous users (e.g. EditorWindow+RTNodeEditor) #97

Closed Seneral closed 7 years ago

Seneral commented 7 years ago

Popups immediately close or even do not show at all when having multiple simultaneous users open. This is caused because currently popups are 'shared'. So f.E. a popup issued in RTNodeEditor would also be drawn in the editor window, but as spaces are different, it is immediately closed. In the other way around, and popup opened in the editor window would close again before ever been drawn because the runtime canvas draws at a much higher frequency.

Possible solution: Make the GUI seperate between different users (and specify those users in NodeEditorGUI.StartNodeGUI ()). Then popups would belong to one user and would only be drawn when it is the active user.

Seneral commented 7 years ago

Fixed in 1006a23