Return back nice eye icon to constraints header (instead of speaker which not so nice in this context, imo)
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user