Fix T69875: Sculpt Scene Spacing breaks with Adjust Strength for Spacing enabled

Reviewed By: jbakker

Maniphest Tasks: T69875

Differential Revision: https://developer.blender.org/D5849
This commit is contained in:
Pablo Dobarro 2019-09-18 20:05:22 +02:00
parent a7904dff4b
commit a9d3e95bea
Notes: blender-bot 2023-02-14 07:18:54 +01:00
Referenced by issue #69875, Sculpt Scene Spacing Distance breaks brush strength with Adjust Strength for Spacing enabled
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ static int paint_space_stroke(bContext *C,
while (length > 0.0f) {
float spacing = paint_space_stroke_spacing_variable(
C, scene, stroke, pressure, dpressure, length);
float mouse[2];
float mouse[3];
if (length >= spacing) {
if (use_scene_spacing) {