mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 01:06:01 +08:00
Merge pull request #192 from nostek/fix/dontrepaintalways
* 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.
This commit is contained in:
commit
ceb4700eda
@ -72,8 +72,6 @@ namespace XNodeEditor {
|
||||
GUIHelper.ClearRepaintRequest();
|
||||
window.Repaint();
|
||||
}
|
||||
#else
|
||||
window.Repaint();
|
||||
#endif
|
||||
|
||||
#if ODIN_INSPECTOR
|
||||
|
||||
@ -309,6 +309,7 @@ namespace XNodeEditor {
|
||||
SelectNode(node, true);
|
||||
}
|
||||
}
|
||||
Repaint();
|
||||
}
|
||||
break;
|
||||
case EventType.ValidateCommand:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user