Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_templates.c
| Context not available. | |||||
| uiLayoutSetOperatorContext(row, WM_OP_INVOKE_DEFAULT); | uiLayoutSetOperatorContext(row, WM_OP_INVOKE_DEFAULT); | ||||
| uiItemEnumO(row, "OBJECT_OT_modifier_apply", CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Apply"), | uiItemEnumO(row, "OBJECT_OT_modifier_apply", CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Apply"), | ||||
| 0, "apply_as", MODIFIER_APPLY_DATA); | 0, "apply_as", MODIFIER_APPLY_DATA); | ||||
| if (modifier_isSameTopology(md) && !modifier_isNonGeometrical(md)) { | if (modifier_isSameTopology(md) && !modifier_isNonGeometrical(md)) { | ||||
| uiItemEnumO(row, "OBJECT_OT_modifier_apply", | uiItemEnumO(row, "OBJECT_OT_modifier_apply", | ||||
| CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Apply as Shape Key"), | CTX_IFACE_(BLT_I18NCONTEXT_OPERATOR_DEFAULT, "Apply as Shape Key"), | ||||
| Context not available. | |||||