Cleaup: Clang format
This commit is contained in:
parent
b1b49f6130
commit
75794afdcd
|
@ -972,7 +972,7 @@ static int sculpt_ipmask_filter_modal(bContext *C, wmOperator *op, const wmEvent
|
|||
const float len = event->x - event->prevclickx;
|
||||
const float target_step_fl = len * IPMASK_FILTER_STEP_SENSITIVITY * UI_DPI_FAC;
|
||||
const int target_step = floorf(target_step_fl);
|
||||
const float step_interpolation = use_step_interpolation? target_step_fl - target_step: 0.0f;
|
||||
const float step_interpolation = use_step_interpolation ? target_step_fl - target_step : 0.0f;
|
||||
const float full_step_strength = target_step_fl / IPMASK_FILTER_STEPS_PER_FULL_STRENGTH;
|
||||
|
||||
BKE_sculpt_update_object_for_edit(depsgraph, ob, true, true, false);
|
||||
|
@ -1078,7 +1078,11 @@ void SCULPT_OT_ipmask_filter(struct wmOperatorType *ot)
|
|||
1,
|
||||
100);
|
||||
RNA_def_boolean(
|
||||
ot->srna, "use_step_interpolation", true, "Step Interpolation", "Calculate and render intermediate values between multiple full steps of the filter");
|
||||
ot->srna,
|
||||
"use_step_interpolation",
|
||||
true,
|
||||
"Step Interpolation",
|
||||
"Calculate and render intermediate values between multiple full steps of the filter");
|
||||
}
|
||||
|
||||
/******************************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue