Skip to content

Commit

Permalink
Node editor improvement
Browse files Browse the repository at this point in the history
- Implemented RequiresConstantRepaint to check if the node editor (inspector)
  requires constant repaint.
  • Loading branch information
keijiro committed Jul 21, 2017
1 parent 3e44c06 commit a629a95
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Assets/Klak/Wiring/Editor/Patcher/NodeEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ void OnDestroy()
DestroyImmediate(_editor);
}

public override bool RequiresConstantRepaint()
{
return _editor.RequiresConstantRepaint();
}

protected override void OnHeaderGUI()
{
var node = (Node)target;
Expand Down

0 comments on commit a629a95

Please sign in to comment.