From 6a1c1dbb4fef935115d036ce7c999d4053279495 Mon Sep 17 00:00:00 2001 From: Simon Rodriguez Date: Wed, 9 Oct 2019 10:20:11 +0200 Subject: [PATCH] This line was not present before commit 43bcb54fda4378e46a678c866242954248a63702 (Odin inspector support (#182) and causes the window to repaint every frame but only if you have a custom node editor. --- Scripts/Editor/NodeEditor.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Scripts/Editor/NodeEditor.cs b/Scripts/Editor/NodeEditor.cs index 812d3c0..13440ea 100644 --- a/Scripts/Editor/NodeEditor.cs +++ b/Scripts/Editor/NodeEditor.cs @@ -72,8 +72,6 @@ namespace XNodeEditor { GUIHelper.ClearRepaintRequest(); window.Repaint(); } -#else - window.Repaint(); #endif #if ODIN_INSPECTOR