Outliner: Add option to apply object modifier #117349

Merged
Hans Goudey merged 4 commits from HooglyBoogly/blender:outliner-apply-modifier into main 2024-01-23 20:54:23 +01:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 6b892828fc - Show all commits

View File

@ -3473,10 +3473,11 @@ void OUTLINER_OT_constraint_operation(wmOperatorType *ot)
* \{ */
static const EnumPropertyItem prop_modifier_op_types[] = {
{OL_MODIFIER_OP_APPLY, "APPLY", ICON_CHECKMARK, "Apply", ""},
{OL_MODIFIER_OP_DELETE, "DELETE", ICON_X, "Delete", ""},
{0, "", 0, "", ""},
{OL_MODIFIER_OP_TOGVIS, "TOGVIS", ICON_RESTRICT_VIEW_OFF, "Toggle Viewport Use", ""},
{OL_MODIFIER_OP_TOGREN, "TOGREN", ICON_RESTRICT_RENDER_OFF, "Toggle Render Use", ""},
{OL_MODIFIER_OP_DELETE, "DELETE", ICON_X, "Delete", ""},
{OL_MODIFIER_OP_APPLY, "APPLY", ICON_CHECKMARK, "Apply", ""},
{0, nullptr, 0, nullptr, nullptr},
};