slight performance improvement for the editor2 settings dialog...

...lighting change flicker
This commit is contained in:
Tomasz Śniatowski 2008-09-18 20:52:26 +01:00
parent e722334335
commit f4fef24ffc

View File

@ -264,8 +264,9 @@ void editor_controller::editor_settings_dialog()
void editor_controller::editor_settings_dialog_redraw_callback(int r, int g, int b)
{
SCOPE_ED;
image::set_colour_adjustment(r, g, b);
refresh_all();
gui().redraw_everything();
}
bool editor_controller::confirm_discard()