diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-18 21:05:22 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-24 16:49:23 +0300 |
commit | a9d3e95bea0c7b6e0577d38eea841b3886df814f (patch) | |
tree | 9c0256350e4a1545280b4ad35e896df6fea3783a /source/blender/editors | |
parent | a7904dff4be5f7c0782e2cec618defda2c27c8a3 (diff) |
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
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 8ab0e325be2..51296fa5d44 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -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) { |