diff options
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_mask.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_mask.c b/source/blender/editors/sculpt_paint/paint_mask.c index cfb73153371..8c912290997 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.c +++ b/source/blender/editors/sculpt_paint/paint_mask.c @@ -1214,7 +1214,7 @@ static void sculpt_gesture_init_trim_properties(SculptGestureContext *sgcontext, trim_operation->op.sculpt_gesture_end = sculpt_gesture_trim_end; trim_operation->mode = RNA_enum_get(op->ptr, "trim_mode"); - trim_operation->use_cursor_depth = RNA_enum_get(op->ptr, "use_cursor_depth"); + trim_operation->use_cursor_depth = RNA_boolean_get(op->ptr, "use_cursor_depth"); } static void sculpt_trim_gesture_operator_properties(wmOperatorType *ot) |