Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Matthews <johnny.matthews@gmail.com>2005-12-01 19:36:30 +0300
committerJohnny Matthews <johnny.matthews@gmail.com>2005-12-01 19:36:30 +0300
commita332c7c387b3b154fb7479f2ac1bd0d232c812de (patch)
treeae314b78210c8ff6cff57b65df2c237e0ac21553
parent466c92c91db32e349dd67d1457b5d29a5f6046f3 (diff)
Bugfix #3510
Adding a couple of countall() to update header after using the Vertgroup and Material Group "select" and "deselect" buttons
-rw-r--r--source/blender/src/buttons_editing.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index 53607bbe848..815282720ea 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -511,6 +511,7 @@ void do_common_editbuts(unsigned short event) // old name, is a mix of object an
allqueue(REDRAWVIEW3D, 0);
}
}
+ countall();
break;
case B_HIDE:
if(G.obedit) {
@@ -3028,11 +3029,13 @@ void do_meshbuts(unsigned short event)
sel_verts_defgroup(1);
allqueue (REDRAWVIEW3D, 1);
allqueue(REDRAWOOPS, 0);
+ countall();
break;
case B_DESELVGROUP:
sel_verts_defgroup(0);
allqueue (REDRAWVIEW3D, 1);
allqueue(REDRAWOOPS, 0);
+ countall();
break;
case B_LINKEDVGROUP:
copy_linked_vgroup_channels(ob);
@@ -3091,7 +3094,6 @@ void do_meshbuts(unsigned short event)
break;
}
}
-
if(G.obedit==0 || (G.obedit->type!=OB_MESH)) return;
switch(event) {
@@ -3168,6 +3170,7 @@ void do_meshbuts(unsigned short event)
allqueue(REDRAWVIEW3D, 0);
break;
}
+
/* WATCH IT: previous events only in editmode! */
}