From a629a9502fdb7e2f6cca8821a1c70ddd496c97fe Mon Sep 17 00:00:00 2001 From: Keijiro Takahashi Date: Fri, 21 Jul 2017 22:49:42 +0900 Subject: [PATCH] Node editor improvement - Implemented RequiresConstantRepaint to check if the node editor (inspector) requires constant repaint. --- Assets/Klak/Wiring/Editor/Patcher/NodeEditor.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Assets/Klak/Wiring/Editor/Patcher/NodeEditor.cs b/Assets/Klak/Wiring/Editor/Patcher/NodeEditor.cs index 9782824..4917434 100644 --- a/Assets/Klak/Wiring/Editor/Patcher/NodeEditor.cs +++ b/Assets/Klak/Wiring/Editor/Patcher/NodeEditor.cs @@ -44,6 +44,11 @@ void OnDestroy() DestroyImmediate(_editor); } + public override bool RequiresConstantRepaint() + { + return _editor.RequiresConstantRepaint(); + } + protected override void OnHeaderGUI() { var node = (Node)target;