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

Fix issue for older Odin version

This commit is contained in:
GolfNorth 2021-02-20 08:38:49 +05:00
parent 5b42d2caeb
commit ea2e190d98

View File

@ -49,7 +49,11 @@ namespace XNodeEditor {
}
catch ( ArgumentNullException )
{
#if ODIN_INSPECTOR_3
objectTree.EndDraw();
#else
InspectorUtilities.EndDrawPropertyTree(objectTree);
#endif
NodeEditor.DestroyEditor(this.target);
return;
}