Extrude crashed on extruding verts/edges only, due to lack of pointer

check in theeths commit of 20h ago. :)

Theeth; the signal I added (for normal) was hackish, as noted in comments!
Hopefully in new transform that all will be nice.
This commit is contained in:
2004-10-12 15:04:05 +00:00
parent 676f3b3782
commit 3a2d57856b

View File

@@ -5290,10 +5290,12 @@ void transform(int mode)
if(mode=='n') {
tv= transvmain;
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;
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;
}
}
/* apply */