diff options
author | Ton Roosendaal <ton@blender.org> | 2004-05-11 01:15:18 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-05-11 01:15:18 +0400 |
commit | 404d9ab0a2d8cb4322602d7ce482e4a78aabe8b9 (patch) | |
tree | c47ab4ab5d30fb0617b85dedff2f5439e406404a /source | |
parent | 00b44d4db234d34aa252b6083874fa5be58a5a49 (diff) |
Tinsy error in undo for selection. Undo_push() was called too late.
Reported by Grogilius. Thanks!
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editmesh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index f52e1332011..6ff6eb76829 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -3339,11 +3339,12 @@ void mouse_mesh(void) glDrawBuffer(GL_FRONT); + undo_push_mesh("Vertex select"); + if( (act->f & 1)==0) act->f+= 1; else if(G.qual & LR_SHIFTKEY) act->f-= 1; if((G.qual & LR_SHIFTKEY)==0) { - undo_push_mesh("Vertex select"); draw_vertices_special(0, act); } else draw_vertices_special(1, act); |