Return back nice eye icon to constraints header (instead of speaker which not so...
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 27 Sep 2011 13:11:19 +0000 (13:11 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 27 Sep 2011 13:11:19 +0000 (13:11 +0000)
source/blender/editors/interface/interface_templates.c

index a4622f5072502fe85907faca07c80ef220842b5b..44aa6d1e090374db322fd7e8d4444d16f6745ee2 100644 (file)
@@ -1040,7 +1040,7 @@ static uiLayout *draw_constraint(uiLayout *layout, Object *ob, bConstraint *con)
                
                /* enabled */
                uiBlockSetEmboss(block, UI_EMBOSSN);
-               uiItemR(row, &ptr, "mute", 0, "", (con->flag & CONSTRAINT_OFF) ? ICON_MUTE_IPO_ON : ICON_MUTE_IPO_OFF);
+               uiItemR(row, &ptr, "mute", 0, "", (con->flag & CONSTRAINT_OFF) ? ICON_RESTRICT_VIEW_ON : ICON_RESTRICT_VIEW_OFF);
                uiBlockSetEmboss(block, UI_EMBOSS);
                
                uiLayoutSetOperatorContext(row, WM_OP_INVOKE_DEFAULT);