Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2019-09-18 21:05:22 +0300
committerPablo Dobarro <pablodp606@gmail.com>2019-09-24 16:49:23 +0300
commita9d3e95bea0c7b6e0577d38eea841b3886df814f (patch)
tree9c0256350e4a1545280b4ad35e896df6fea3783a /source/blender/editors/sculpt_paint/paint_stroke.c
parenta7904dff4be5f7c0782e2cec618defda2c27c8a3 (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/sculpt_paint/paint_stroke.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_stroke.c2
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) {