projects
/
blender-staging.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e047d5
)
2.5
author
Ton Roosendaal <ton@blender.org>
Sun, 19 Jul 2009 17:14:26 +0000
(17:14 +0000)
committer
Ton Roosendaal <ton@blender.org>
Sun, 19 Jul 2009 17:14:26 +0000
(17:14 +0000)
Bugfix: extrudes failed when called a 2nd time, missing statistics
update. Reported by Sanne in irc, thanks!
source/blender/editors/mesh/editmesh_tools.c
patch
|
blob
|
history
diff --git
a/source/blender/editors/mesh/editmesh_tools.c
b/source/blender/editors/mesh/editmesh_tools.c
index 3c186659adc2ba5d4fc825b5a3c970f82413a660..6d5baa80adecece7fc31b02ca0c431d26ffbbb3a 100644
(file)
--- a/
source/blender/editors/mesh/editmesh_tools.c
+++ b/
source/blender/editors/mesh/editmesh_tools.c
@@
-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;