@@ -216,6 +216,7 @@ void CutEdgeloop(int numcuts)
|
||||
short event,val,choosing=1,cancel=0,dist,cuthalf = 0,smooth=0;
|
||||
char msg[128];
|
||||
short hasHidden = 0;
|
||||
float fac;
|
||||
|
||||
selectmode = G.scene->selectmode;
|
||||
|
||||
@@ -383,7 +384,10 @@ void CutEdgeloop(int numcuts)
|
||||
|
||||
/* now cut the loops */
|
||||
if(smooth){
|
||||
esubdivideflag(SELECT,0,B_SMOOTH,numcuts,SUBDIV_SELECT_INNER_SEL);
|
||||
fac= 1.0f;
|
||||
if(fbutton(&fac, 0.0f, 5.0f, 10, 10, "Smooth:")==0) return;
|
||||
fac= 0.292f*fac;
|
||||
esubdivideflag(SELECT,fac,B_SMOOTH,numcuts,SUBDIV_SELECT_INNER_SEL);
|
||||
} else {
|
||||
esubdivideflag(SELECT,0,0,numcuts,SUBDIV_SELECT_INNER_SEL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user