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