diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-06-27 09:56:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-06-27 09:56:56 +0400 |
commit | 2501386f2b149d30e2ffb56a57d3cd801b0c431a (patch) | |
tree | 3050e5e95a5109ba2b9dd316c3530043f03a9f40 /source/blender/src/editmball.c | |
parent | e0aa1dd29571229c995a2abd5b56782e8a5fbbae (diff) |
Posemode was missing a "countall" call with pose mode select/deselect all. while adding this I noticed that lattice and metaballs were also missing countall() calls.
Added countall to metaball select, undo, duplicate (all the obvious places) - but its possible coultall() could be added to other functions especialy for metaballs.
Diffstat (limited to 'source/blender/src/editmball.c')
-rw-r--r-- | source/blender/src/editmball.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/src/editmball.c b/source/blender/src/editmball.c index 766ddd44065..acf3fbff99d 100644 --- a/source/blender/src/editmball.c +++ b/source/blender/src/editmball.c @@ -235,6 +235,7 @@ void deselectall_mball() ml= ml->next; } allqueue(REDRAWVIEW3D, 0); + countall(); // BIF_undo_push("Deselect MetaElem"); } @@ -295,6 +296,7 @@ void mouse_mball() allqueue(REDRAWBUTSEDIT, 0); } } + countall(); rightmouse_transform(); } @@ -314,6 +316,7 @@ void adduplicate_mball() } BIF_TransformSetUndo("Add Duplicate"); + countall(); initTransform(TFM_TRANSLATION, CTX_NO_PET); Transform(); allqueue(REDRAWBUTSEDIT, 0); @@ -341,7 +344,7 @@ void delete_mball() DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA); allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWBUTSEDIT, 0); - + countall(); BIF_undo_push("Delete MetaElem"); } @@ -389,6 +392,7 @@ static void undoMball_to_editMball(void *lbv) for(nr=0, lastelem= editelems.first; lastelem; lastelem= lastelem->next, nr++) if(nr==lastmlnr) break; + countall(); } static void *editMball_to_undoMball(void) @@ -448,7 +452,7 @@ void hide_mball(char hide) DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA); allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWBUTSEDIT, 0); - + countall(); BIF_undo_push("Hide MetaElems"); } @@ -467,6 +471,6 @@ void reveal_mball(void) DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA); allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWBUTSEDIT, 0); - + countall(); BIF_undo_push("Unhide MetaElems"); } |