diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-06-15 14:18:16 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-06-15 14:18:16 +0400 |
commit | 6a60bf2f03fa2b78b8ae6e6a7501d0a20d58dbdf (patch) | |
tree | 8d08a5270812118f274abfc83e635a8e231f8465 /source/blender/editors/mesh/editface.c | |
parent | 790e8b6eda0c3478fe52853c381fca46bd264dff (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.c | 11 |
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); } |