[Bf-blender-cvs] [75794afdcdb] sculpt-dev: Cleaup: Clang format
Pablo Dobarro
noreply at git.blender.org
Wed Mar 3 18:52:41 CET 2021
Commit: 75794afdcdbd148c964dcee187cee28131c23e06
Author: Pablo Dobarro
Date: Wed Mar 3 18:51:35 2021 +0100
Branches: sculpt-dev
https://developer.blender.org/rB75794afdcdbd148c964dcee187cee28131c23e06
Cleaup: Clang format
===================================================================
M source/blender/editors/sculpt_paint/sculpt_filter_mask.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_filter_mask.c b/source/blender/editors/sculpt_paint/sculpt_filter_mask.c
index 595beaa4db0..a4e6ff935c2 100644
--- a/source/blender/editors/sculpt_paint/sculpt_filter_mask.c
+++ b/source/blender/editors/sculpt_paint/sculpt_filter_mask.c
@@ -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");
}
/******************************************************************************************/
More information about the Bf-blender-cvs
mailing list