#Reduce Inspector/Properties Window Repaint Rate

1 messages · Page 1 of 1 (latest)

muted cradle
#

Is there any way to reduce the repaint rate for inspector/properties windows when they're not changing? I've got a number of pretty hefty inspectors (big behavior trees) that I often have open, and they reduce the framerate quite a bit when I'm trying to test. As a workaround, I've been just opening a "Project" tab in every properties window that I swap over to when I want better performance (that's the last portion of the profiler screenshot where it's not spikey), but that's more hacky than I'd like.

#

Alternatively, if this shouldn't be updating this often (I'm pretty sure the inspector is only supposed to repaint if changes happen or the mouse is moved over it?) is there any good way to figure out what's causing it to repaint? Breakpointing EditorWindow.Repaint() just gives me a stack trace of HostView.OnInspectorUpdate() -> PropertyEditor.OnInspectorUpdate() -> EditorWindow.Repaint(), which isn't super helpful. Is it wrong that in PropertyEditor.OnInspectorUpdate(), ActiveEditorTracker.isDirty is true each time?