[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47243] branches/soc-2012-bratwurst/source /blender/editors/interface/interface_regions.c: Fix color wheel not closing when the mouse moves away.

Jorge Rodriguez bs.vino at gmail.com
Wed May 30 20:50:16 CEST 2012


Revision: 47243
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47243
Author:   vino
Date:     2012-05-30 18:50:16 +0000 (Wed, 30 May 2012)
Log Message:
-----------
Fix color wheel not closing when the mouse moves away. Looks like this was caused by an oversight in r24808.

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=24808

Modified Paths:
--------------
    branches/soc-2012-bratwurst/source/blender/editors/interface/interface_regions.c

Modified: branches/soc-2012-bratwurst/source/blender/editors/interface/interface_regions.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/editors/interface/interface_regions.c	2012-05-30 18:49:45 UTC (rev 47242)
+++ branches/soc-2012-bratwurst/source/blender/editors/interface/interface_regions.c	2012-05-30 18:50:16 UTC (rev 47243)
@@ -2213,13 +2213,12 @@
 		}
 	}
 	
-	uiBlockSetFlag(block, UI_BLOCK_MOVEMOUSE_QUIT);
+	uiBlockSetFlag(block, UI_BLOCK_MOVEMOUSE_QUIT | UI_BLOCK_REDRAW | UI_BLOCK_KEEP_OPEN | UI_BLOCK_OUT_1);
 	
 	copy_v3_v3(handle->retvec, but->editvec);
 	
 	uiBlockPicker(block, handle->retvec, &but->rnapoin, but->rnaprop);
 	
-	block->flag = UI_BLOCK_LOOP | UI_BLOCK_REDRAW | UI_BLOCK_KEEP_OPEN | UI_BLOCK_OUT_1;
 	uiBoundsBlock(block, 10);
 	
 	block->block_event_func = ui_picker_small_wheel_cb;




More information about the Bf-blender-cvs mailing list