mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
Fixed setting to null during OnEnable
This commit is contained in:
parent
e6f5ac2d47
commit
58d962c404
@ -64,7 +64,7 @@ namespace XNode {
|
||||
public static NodeGraph graphHotfix;
|
||||
|
||||
protected void OnEnable() {
|
||||
graph = graphHotfix;
|
||||
if (graphHotFix != null) graph = graphHotfix;
|
||||
graphHotfix = null;
|
||||
UpdateStaticPorts();
|
||||
Init();
|
||||
@ -313,4 +313,4 @@ namespace XNode {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user