1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16:01 +08:00

Fixed NullRefException on open graph

This commit is contained in:
Thor Brigsted 2018-04-13 10:51:44 +02:00
parent 2582d5aaf3
commit a78d7258ca

View File

@ -21,6 +21,7 @@ namespace XNodeEditor {
void OnFocus() {
current = this;
graphEditor = NodeGraphEditor.GetEditor(graph);
if (NodeEditorPreferences.GetSettings().autoSave) AssetDatabase.SaveAssets();
}