From 67dfe58f8c8092d04172df05281cfcdca498fdf2 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 16 Dec 2008 13:49:51 +0000 Subject: [PATCH] 2.5 Test for Brecht: this line makes drawing buttons fine. However note: - redraws on lines 3107 and 3024 don't do anything - tooltip timer is messing with redraws too, if you have tooltips on, it continuously sends redraws. - I would code tooltip to reset on any mouse move, and only start timer when mouse is still completely. That would make them appear much more quietly. --- source/blender/editors/interface/interface_handlers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index e8a95271897..6adabc56f80 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -2766,6 +2766,7 @@ static void button_activate_state(bContext *C, uiBut *but, uiHandleButtonState s data->autoopentimer= NULL; } } + ED_region_tag_redraw(data->region); /* text editing */ if(state == BUTTON_STATE_TEXT_EDITING && data->state != BUTTON_STATE_TEXT_SELECTING)