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>2012-11-05 08:38:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-05 08:38:58 +0400
commite894549e5ee70cd40f99d9bd93984ec5419d7d33 (patch)
tree29f9dfaa69c50cc9efdb4dd6ee4371b36e84db49 /source/blender/blenkernel/intern/shrinkwrap.c
parent82a8556f90daec531327db75c6a280d67307b581 (diff)
revert own commit r34706 (fix for [#25801]), this causes bug [#25801].
checking on this code further it still isn't working correctly, will commit other changes next.
Diffstat (limited to 'source/blender/blenkernel/intern/shrinkwrap.c')
-rw-r--r--source/blender/blenkernel/intern/shrinkwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/shrinkwrap.c b/source/blender/blenkernel/intern/shrinkwrap.c
index d00f3ab487b..12472afe339 100644
--- a/source/blender/blenkernel/intern/shrinkwrap.c
+++ b/source/blender/blenkernel/intern/shrinkwrap.c
@@ -375,7 +375,7 @@ static void shrinkwrap_calc_normal_projection(ShrinkwrapCalcData *calc)
}
/* Project over negative direction of axis */
- if (use_normal & MOD_SHRINKWRAP_PROJECT_ALLOW_NEG_DIR && hit.index == -1) {
+ if (use_normal & MOD_SHRINKWRAP_PROJECT_ALLOW_NEG_DIR) {
float inv_no[3];
negate_v3_v3(inv_no, tmp_no);