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

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