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!
This commit is contained in:
Ton Roosendaal 2005-10-26 10:49:19 +00:00
parent c648e790be
commit 5d291535c6

@ -1253,6 +1253,7 @@ static void createTransEditVerts(TransInfo *t)
if(propmode) editmesh_set_connectivity_distance(t->total, vectors, nears); if(propmode) editmesh_set_connectivity_distance(t->total, vectors, nears);
/* detect CrazySpace [tm] */ /* detect CrazySpace [tm] */
if(propmode==0) {
if(modifiers_getCageIndex(G.obedit, NULL)>=0) { if(modifiers_getCageIndex(G.obedit, NULL)>=0) {
if(modifiers_isDeformed(G.obedit)) { if(modifiers_isDeformed(G.obedit)) {
mappedcos= get_mapped_editverts(); mappedcos= get_mapped_editverts();
@ -1261,6 +1262,7 @@ static void createTransEditVerts(TransInfo *t)
set_crazyspace_quats(mappedcos, quats); set_crazyspace_quats(mappedcos, quats);
} }
} }
}
for (eve=em->verts.first; eve; eve=eve->next) { for (eve=em->verts.first; eve; eve=eve->next) {
if(eve->h==0) { if(eve->h==0) {