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:
authorGaia Clary <gaia.clary@machinimatrix.org>2013-06-15 14:18:16 +0400
committerGaia Clary <gaia.clary@machinimatrix.org>2013-06-15 14:18:16 +0400
commit6a60bf2f03fa2b78b8ae6e6a7501d0a20d58dbdf (patch)
tree8d08a5270812118f274abfc83e635a8e231f8465 /source/blender/editors/mesh/editface.c
parent790e8b6eda0c3478fe52853c381fca46bd264dff (diff)
Added support for Vertex Weight panel in weight Paint Mode
Diffstat (limited to 'source/blender/editors/mesh/editface.c')
-rw-r--r--source/blender/editors/mesh/editface.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editface.c b/source/blender/editors/mesh/editface.c
index 234a45856d2..e194f990739 100644
--- a/source/blender/editors/mesh/editface.c
+++ b/source/blender/editors/mesh/editface.c
@@ -619,6 +619,17 @@ void paintvert_deselect_all_visible(Object *ob, int action, bool flush_flags)
}
}
+ /* handle mselect */
+ if (action == SEL_SELECT) {
+ /* pass */
+ }
+ else if (ELEM(action, SEL_DESELECT, SEL_INVERT)) {
+ BKE_mesh_mselect_clear(me);
+ }
+ else {
+ BKE_mesh_mselect_validate(me);
+ }
+
if (flush_flags) {
paintvert_flush_flags(ob);
}