Revision: 51215
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51215
Author:   aligorith
Date:     2012-10-09 10:41:51 +0000 (Tue, 09 Oct 2012)
Log Message:
-----------
Autokey warning - trying with a slight "calmer" color

Now it uses the same color used for indicating keyframes instead of using
"error" indications.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/transform/transform.c

Modified: trunk/blender/source/blender/editors/transform/transform.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform.c  2012-10-09 
10:36:07 UTC (rev 51214)
+++ trunk/blender/source/blender/editors/transform/transform.c  2012-10-09 
10:41:51 UTC (rev 51215)
@@ -1569,8 +1569,8 @@
 {
        int show_warning;
        
-       /* red border around the viewport */
-       UI_ThemeColor(TH_REDALERT);
+       /* colored border around the viewport */
+       UI_ThemeColor(TH_VERTEX_SELECT);
        
        glBegin(GL_LINE_LOOP);
                glVertex2f(1,          1);
@@ -1596,8 +1596,10 @@
                xco = ar->winx - BLF_width_default(printable)  - 10;
                yco = ar->winy - BLF_height_default(printable) - 10;
                
-               /* red warning text */
-               UI_ThemeColor(TH_REDALERT);
+               /* warning text (to clarify meaning of overlays)
+                * - original color was red to match the icon, but that clashes 
badly with a less nasty border
+                */
+               UI_ThemeColor(TH_VERTEX_SELECT);
                BLF_draw_default_ascii(xco, ar->winy - 17, 0.0f, printable, 
sizeof(printable));
                
                /* autokey recording icon... */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to