1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 09:16: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 ) catch ( ArgumentNullException )
{ {
#if ODIN_INSPECTOR_3
objectTree.EndDraw(); objectTree.EndDraw();
#else
InspectorUtilities.EndDrawPropertyTree(objectTree);
#endif
NodeEditor.DestroyEditor(this.target); NodeEditor.DestroyEditor(this.target);
return; return;
} }