mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Fixed NullRefException on open graph
This commit is contained in:
parent
2582d5aaf3
commit
a78d7258ca
@ -21,6 +21,7 @@ namespace XNodeEditor {
|
||||
|
||||
void OnFocus() {
|
||||
current = this;
|
||||
graphEditor = NodeGraphEditor.GetEditor(graph);
|
||||
if (NodeEditorPreferences.GetSettings().autoSave) AssetDatabase.SaveAssets();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user