diff --git a/Scripts/Editor/NodeEditor.cs b/Scripts/Editor/NodeEditor.cs index a562fdf..efe0072 100644 --- a/Scripts/Editor/NodeEditor.cs +++ b/Scripts/Editor/NodeEditor.cs @@ -49,7 +49,11 @@ namespace XNodeEditor { } catch ( ArgumentNullException ) { +#if ODIN_INSPECTOR_3 objectTree.EndDraw(); +#else + InspectorUtilities.EndDrawPropertyTree(objectTree); +#endif NodeEditor.DestroyEditor(this.target); return; }