forked from bartvdbraak/blender
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:
parent
c648e790be
commit
5d291535c6
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user