In CTRL-E menu "Edgeloop Delete" with a valid "inner" edgeloop selected, this function calls other tools to delete that edgeloop by doing the following

Edgeslide to one side 100%
CTRL +  to select "more"
Remove Doubles

Leaves you with new faceloop selected.
This commit is contained in:
2005-08-07 20:46:26 +00:00
parent f333f124ca
commit bfcc67267b
3 changed files with 14 additions and 1 deletions

View File

@@ -4264,6 +4264,14 @@ static float Dist2s(short* d1,short* d2){
return sqrt(pow(d1[0]-d2[0],2)+pow(d1[1]-d2[1],2));
}
void EdgeLoopDelete(){
EdgeSlide(1, 1);
select_more();
removedoublesflag(1,0.001);
EM_select_flush();
DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA);
}
int EdgeSlide(short immediate, float imperc)
{
EditMesh *em = G.editMesh;