Fix for bug #12533: color picker didn't always redraw rgb/hsv/hex values.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 27 May 2008 11:01:31 +0000 (11:01 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Tue, 27 May 2008 11:01:31 +0000 (11:01 +0000)
source/blender/src/interface.c

index ab8e53c3cb3052238e3f4bb94ac3e744935d1111..6582866d9a167b330b158e5ff19c2c040b594884 100644 (file)
@@ -3394,6 +3394,7 @@ static int ui_do_but_HSVCUBE(uiBut *but)
                        /* we redraw the entire block */
                        for (bt= but->block->buttons.first; bt; bt= bt->next) {
                                if(but->poin == bt->poin) VECCOPY(bt->hsv, but->hsv);
+                               ui_check_but(bt);
                                ui_draw_but(bt);
                        }
                        ui_block_flush_back(but->block);