forked from bartvdbraak/blender
2.5
Bugfix: extrudes failed when called a 2nd time, missing statistics update. Reported by Sanne in irc, thanks!
This commit is contained in:
parent
9e047d5acc
commit
20f1fb6a7f
@ -627,6 +627,9 @@ void extrude_mesh(Scene *scene, Object *obedit, EditMesh *em, wmOperator *op)
|
||||
float nor[3]= {0.0, 0.0, 0.0};
|
||||
short nr, transmode= 0;
|
||||
|
||||
/* extrude depends on totvertsel etc */
|
||||
EM_stats_update(em);
|
||||
|
||||
if(em->selectmode & SCE_SELECT_VERTEX) {
|
||||
if(em->totvertsel==0) nr= 0;
|
||||
else if(em->totvertsel==1) nr= 4;
|
||||
|
Loading…
Reference in New Issue
Block a user