diff --git a/source/blender/src/editarmature.c b/source/blender/src/editarmature.c index 3ce31ea8963..60959bc7336 100644 --- a/source/blender/src/editarmature.c +++ b/source/blender/src/editarmature.c @@ -1935,7 +1935,8 @@ void deselectall_posearmature (Object *ob, int test) allqueue(REDRAWVIEW3D, 0); allqueue(REDRAWOOPS, 0); allqueue(REDRAWACTION, 0); - + + countall(); } diff --git a/source/blender/src/editlattice.c b/source/blender/src/editlattice.c index ab2d5a20c9b..244b035db15 100644 --- a/source/blender/src/editlattice.c +++ b/source/blender/src/editlattice.c @@ -200,6 +200,7 @@ void deselectall_Latt(void) if(bp->hide==0) { if(bp->f1) { setflagsLatt(0); + countall(); BIF_undo_push("(De)select all"); return; } @@ -207,7 +208,7 @@ void deselectall_Latt(void) bp++; } setflagsLatt(1); - + countall(); BIF_undo_push("(De)select all"); } 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"); }