bugfix [#23355] Square Color picker moving by itself and locking up
[blender-staging.git] / source / blender / editors / interface / interface.c
index f4866237f46d11a4c500db5bcc4d6d62690a7986..97a3225f5c638bfdfd673a1040adddc99def9194 100644 (file)
@@ -2136,11 +2136,6 @@ void ui_check_but(uiBut *but)
 
        case HSVCUBE:
        case HSVCIRCLE:
-               {
-                       float rgb[3];
-                       ui_get_but_vectorf(but, rgb);
-                       rgb_to_hsv(rgb[0], rgb[1], rgb[2], but->hsv, but->hsv+1, but->hsv+2);
-               }
                break;
        default:
                strncpy(but->drawstr, but->str, UI_MAX_DRAW_STR);