diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-05-31 07:35:35 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2016-06-08 22:45:40 +0300 |
commit | 654068a0b0e6802c23e965d488caf2274b1d4f48 (patch) | |
tree | 12d23b1784f7fb2a9177df0e5282f865b9c5c490 | |
parent | a72de9116e0a4f760ed5c59b7f500d641c5369d4 (diff) |
Fix T48547: Shrinkwrap fails w/ auxiliary target
Error in 0b5a0d84
-rw-r--r-- | source/blender/blenkernel/intern/shrinkwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/shrinkwrap.c b/source/blender/blenkernel/intern/shrinkwrap.c index b9f7afb7365..518d8d68919 100644 --- a/source/blender/blenkernel/intern/shrinkwrap.c +++ b/source/blender/blenkernel/intern/shrinkwrap.c @@ -435,7 +435,7 @@ static void shrinkwrap_calc_normal_projection(ShrinkwrapCalcData *calc, bool for } } else { - if ((aux_tree = bvhtree_from_mesh_looptri(&dmauxdata_stack, calc->target, 0.0, 4, 6)) != NULL) { + if ((aux_tree = bvhtree_from_mesh_looptri(&dmauxdata_stack, auxMesh, 0.0, 4, 6)) != NULL) { aux_callback = dmauxdata_stack.raycast_callback; auxData = &dmauxdata_stack; } |