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:
authorCampbell Barton <ideasman42@gmail.com>2013-09-16 12:59:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-16 12:59:54 +0400
commit17c32df7efaea8eb91f355d93ee097a3018f79b9 (patch)
tree21610275c71ccd78e1be8b2dd4dbd6451c6fc5dc /source/blender/editors/sculpt_paint
parent6317f1eafd1f5603000d05c77b8e3d4f6e38c9f9 (diff)
fix [#36732] Auto depth feature misbehaves on orbit with mouse cursor outside the model.
ortho mode didn't store the depth for re-use when the cursor had no depth.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index dfada683dda..c90f9756707 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -4164,7 +4164,7 @@ void paint_proj_stroke(bContext *C, void *pps, const float prev_pos[2], const fl
view3d_operator_needs_opengl(C);
- if (!ED_view3d_autodist(scene, ps->ar, v3d, mval_i, cursor, false))
+ if (!ED_view3d_autodist(scene, ps->ar, v3d, mval_i, cursor, false, NULL))
return;
ED_region_tag_redraw(ps->ar);