Sculpt: fix gcc compiler error
This one is an actual error. I went through the trouble of compiling in a linux VM and still somehow managed to miss it. Also fix wrong range for normal_radius_factor.
This commit is contained in:
parent
318bc8ea42
commit
cbaa9f723b
|
@ -167,7 +167,7 @@ void BKE_brush_default_input_curves_set(struct Brush *brush);
|
|||
if ((p)->runtime.ob_mode == OB_MODE_SCULPT) { \
|
||||
BKE_brush_builtin_patch(brush, tool); \
|
||||
if (_old != tool) { \
|
||||
BKE_brush_sculpt_reset(brush, tool); \
|
||||
BKE_brush_sculpt_reset(brush); \
|
||||
} \
|
||||
} \
|
||||
} \
|
||||
|
|
|
@ -273,7 +273,7 @@ places in rna_engine_codebase are relevent:
|
|||
{-1}
|
||||
})
|
||||
MAKE_FLOAT(normal_radius_factor, "Normal Radius", "Ratio between the brush radius and the radius that is going to be "
|
||||
"used to sample the normal", 0.5f, 0.0f, 1.0f)
|
||||
"used to sample the normal", 0.5f, 0.0f, 2.0f)
|
||||
MAKE_FLOAT(hardness, "Hardness", "Brush falloff hardness", 0.0f, 0.0f, 1.0f)
|
||||
MAKE_FLOAT(tip_roundness, "Tip Roundness", "", 1.0f, 0.0f, 1.0f)
|
||||
MAKE_BOOL(accumulate, "Accumulate", "", false)
|
||||
|
|
Loading…
Reference in New Issue