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

Merge pull request #310 from GolfNorth/odin-issue-fix

Fix issue for older Odin version
This commit is contained in:
Thor Brigsted 2021-02-24 12:59:00 +01:00 committed by GitHub
commit 93615e7722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}