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:
commit
93615e7722
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user