[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48290] branches/soc-2012-bratwurst/source /blender/editors/interface/interface_regions.c: Fix numbers in the color bars not updating when the black and white buttons are pressed .
Jorge Rodriguez
bs.vino at gmail.com
Mon Jun 25 23:08:54 CEST 2012
Revision: 48290
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48290
Author: vino
Date: 2012-06-25 21:08:45 +0000 (Mon, 25 Jun 2012)
Log Message:
-----------
Fix numbers in the color bars not updating when the black and white buttons are pressed.
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-06-25 19:52:07 UTC (rev 48289)
+++ branches/soc-2012-bratwurst/source/blender/editors/interface/interface_regions.c 2012-06-25 21:08:45 UTC (rev 48290)
@@ -2037,6 +2037,7 @@
rgb[1] = 1;
rgb[2] = 1;
RNA_property_float_set_array(&ptr, prop, rgb);
+ ui_update_block_buts_rgb(but->block, rgb);
if (popup)
popup->menuretval = UI_RETURN_UPDATE;
@@ -2054,6 +2055,7 @@
rgb[1] = 0;
rgb[2] = 0;
RNA_property_float_set_array(&ptr, prop, rgb);
+ ui_update_block_buts_rgb(but->block, rgb);
if (popup)
popup->menuretval = UI_RETURN_UPDATE;
More information about the Bf-blender-cvs
mailing list