[Bf-blender-cvs] [a9d3e95bea0] master: Fix T69875: Sculpt Scene Spacing breaks with Adjust Strength for Spacing enabled

Pablo Dobarro noreply at git.blender.org
Tue Sep 24 15:47:46 CEST 2019


Commit: a9d3e95bea0c7b6e0577d38eea841b3886df814f
Author: Pablo Dobarro
Date:   Wed Sep 18 20:05:22 2019 +0200
Branches: master
https://developer.blender.org/rBa9d3e95bea0c7b6e0577d38eea841b3886df814f

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

===================================================================

M	source/blender/editors/sculpt_paint/paint_stroke.c

===================================================================

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) {



More information about the Bf-blender-cvs mailing list