Holding shift, while in extrude transform mode ('n', along normal) popped
the extrusion back to beginning, this due to storage of printing value
in dvec[3]. Simple fix :)
This commit is contained in:
2004-10-29 11:35:13 +00:00
parent 0439f2ce89
commit 3d815c3cf6

View File

@@ -5305,8 +5305,7 @@ void transform(int mode)
if(tv->nor) {
dot= tv->nor[0]*dvecp[0] + tv->nor[1]*dvecp[1] + tv->nor[2]*dvecp[2];
apply_keyb_grid(&dot, 0.0, G.vd->grid, 0.1*G.vd->grid, gridflag & USER_AUTOGRABGRID);
dvec[0] = dot;
dvec[1] = dvec[2] = 0.0;
/* do not change dvec here, for d_dvec (hold shift) to keep working */
}
}
@@ -5359,9 +5358,9 @@ void transform(int mode)
if(mode=='n' && tv->nor) {
if (typemode)
sprintf(str, "D: >%.4f< Along faces normal", dvec[0]);
sprintf(str, "D: >%.4f< Along faces normal", dot);
else
sprintf(str, "D: %.4f Along faces normal", dvec[0]);
sprintf(str, "D: %.4f Along faces normal", dot);
}
else {
if (typemode){