diff options
Diffstat (limited to 'source/blender/editors/mask/mask_ops.c')
-rw-r--r-- | source/blender/editors/mask/mask_ops.c | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index 68dfe0d151f..51f3a94efde 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -1589,12 +1589,12 @@ static int mask_normals_make_consistent_exec(bContext *C, wmOperator *UNUSED(op) return OPERATOR_CANCELLED; } -/* named to match mesh recalc normals */ +/* Named to match mesh recalculate normals. */ void MASK_OT_normals_make_consistent(wmOperatorType *ot) { /* identifiers */ - ot->name = "Recalc Normals"; - ot->description = "Re-calculate the direction of selected handles"; + ot->name = "Recalculate Handles"; + ot->description = "Recalculate the direction of selected handles"; ot->idname = "MASK_OT_normals_make_consistent"; /* api callbacks */ @@ -1710,9 +1710,7 @@ static int mask_hide_view_clear_exec(bContext *C, wmOperator *op) return OPERATOR_FINISHED; } - else { - return OPERATOR_CANCELLED; - } + return OPERATOR_CANCELLED; } void MASK_OT_hide_view_clear(wmOperatorType *ot) @@ -1773,9 +1771,7 @@ static int mask_hide_view_set_exec(bContext *C, wmOperator *op) return OPERATOR_FINISHED; } - else { - return OPERATOR_CANCELLED; - } + return OPERATOR_CANCELLED; } void MASK_OT_hide_view_set(wmOperatorType *ot) @@ -1827,9 +1823,7 @@ static int mask_feather_weight_clear_exec(bContext *C, wmOperator *UNUSED(op)) return OPERATOR_FINISHED; } - else { - return OPERATOR_CANCELLED; - } + return OPERATOR_CANCELLED; } void MASK_OT_feather_weight_clear(wmOperatorType *ot) |