Fix for error found by aphex;

Some extrusions still use proportional mode when thats on. Was due to
adding transfrom('g') for non-normal extrude. Made it new code 'h'
This commit is contained in:
2004-11-11 23:56:56 +00:00
parent 5989da1442
commit 1c632c40c0
2 changed files with 9 additions and 8 deletions

View File

@@ -623,7 +623,7 @@ short extrudeflag_edges_indiv(short flag)
if(eed->v1->f & eed->v2->f & flag) eed->f |= flag;
}
if(nor[0]==0.0 && nor[1]==0.0 && nor[2]==0.0) return 'g';
if(nor[0]==0.0 && nor[1]==0.0 && nor[2]==0.0) return 'h'; // h is grab, for correct undo print
return 'n';
}
@@ -647,7 +647,7 @@ short extrudeflag_verts_indiv(short flag)
for(eve= em->verts.last; eve; eve= eve->prev) if(eve->vn) eve->vn->f |= flag;
return 'g';
return 'h'; // h is grab, for correct undo print
}
@@ -818,8 +818,8 @@ static short extrudeflag_edge(short flag)
}
EM_select_flush();
if(nor[0]==0.0 && nor[1]==0.0 && nor[2]==0.0) return 'g';
if(nor[0]==0.0 && nor[1]==0.0 && nor[2]==0.0) return 'h';
return 'n';
}
@@ -1042,7 +1042,7 @@ short extrudeflag_vert(short flag)
// since its vertex select mode now, it also deselects higher order
EM_selectmode_flush();
if(nor[0]==0.0 && nor[1]==0.0 && nor[2]==0.0) return 'g';
if(nor[0]==0.0 && nor[1]==0.0 && nor[2]==0.0) return 'h'; // h is grab, for correct undo print
return 'n';
}