Merge trunk up to revision 40611
[blender.git] / source / blender / editors / interface / interface_templates.c
index c00b0e00587fecbc524b92ecedd02e2759ffe6be..282fa0902de788ebf31cf9f55c4dda6a293f69d1 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);