diff options
author | Ton Roosendaal <ton@blender.org> | 2005-10-26 14:49:19 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-10-26 14:49:19 +0400 |
commit | 5d291535c6c84ffc942cf2d809ee3baff0d9e9d4 (patch) | |
tree | 296d4957131703370c56cf698239e4fb990f3a79 /source/blender/src/transform_conversions.c | |
parent | c648e790be41b5b8f1af2a0b7ab7abeff8a01ae6 (diff) |
Disabled CrazySpace when 'proportional edit' is on... I discovered both use
the eve->vn pointer to store temporal data. Need a better solution, do it
later. This just prevents crashing!
Diffstat (limited to 'source/blender/src/transform_conversions.c')
-rwxr-xr-x | source/blender/src/transform_conversions.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/src/transform_conversions.c b/source/blender/src/transform_conversions.c index 2b67b4dcaa3..98bcb5d47ce 100755 --- a/source/blender/src/transform_conversions.c +++ b/source/blender/src/transform_conversions.c @@ -1253,12 +1253,14 @@ static void createTransEditVerts(TransInfo *t) if(propmode) editmesh_set_connectivity_distance(t->total, vectors, nears); /* detect CrazySpace [tm] */ - if(modifiers_getCageIndex(G.obedit, NULL)>=0) { - if(modifiers_isDeformed(G.obedit)) { - mappedcos= get_mapped_editverts(); - /* add one more quaternion, because of crazy_quat_blend */ - quats= MEM_mallocN( (t->total+1)*sizeof(float)*4, "crazy quats"); - set_crazyspace_quats(mappedcos, quats); + if(propmode==0) { + if(modifiers_getCageIndex(G.obedit, NULL)>=0) { + if(modifiers_isDeformed(G.obedit)) { + mappedcos= get_mapped_editverts(); + /* add one more quaternion, because of crazy_quat_blend */ + quats= MEM_mallocN( (t->total+1)*sizeof(float)*4, "crazy quats"); + set_crazyspace_quats(mappedcos, quats); + } } } |