diff options
author | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-04-27 01:33:22 +0400 |
---|---|---|
committer | Andre Susano Pinto <andresusanopinto@gmail.com> | 2009-04-27 01:33:22 +0400 |
commit | 310356a732d9460bd647c8e5b465bed6ae037e89 (patch) | |
tree | 42b9f611a3e3a3a65e9cc88e4e3e18ec3322418e /source | |
parent | 7a042dcc3a0091fd351b116414e432623daefa6e (diff) |
Shrinkwrap fix (before I only fixed normal projection)
nearest surface + nearest vertex fixed now
Diffstat (limited to 'source')
-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 6784f014efa..69ce9f3d5cd 100644 --- a/source/blender/blenkernel/intern/shrinkwrap.c +++ b/source/blender/blenkernel/intern/shrinkwrap.c @@ -191,7 +191,7 @@ void shrinkwrapModifier_deform(ShrinkwrapModifierData *smd, Object *ob, DerivedM calc.vgroup = get_named_vertexgroup_num(calc.ob, smd->vgroup_name); - if(dm != NULL) + if(dm != NULL && smd->shrinkType == MOD_SHRINKWRAP_PROJECT) { //Setup arrays to get vertexs positions, normals and deform weights calc.vert = dm->getVertDataArray(dm, CD_MVERT); |