diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-02-14 09:50:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-02-14 10:01:30 +0300 |
commit | c6cbcf83d0153922ac32452c198252f44867a6cb (patch) | |
tree | 2916f1301181d41655605dc472a762fe9c8aa641 /source/blender/editors/include/ED_mesh.h | |
parent | 6074f62d1a099fc378aa25506a93321dba2d956b (diff) |
Fix T61472: Hide Unselected fails w/ no selection
Also skip mesh recalculation when no hide/reveal is performed.
Diffstat (limited to 'source/blender/editors/include/ED_mesh.h')
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index 6974c3b6699..dc43d31ff59 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -94,8 +94,8 @@ void EDBM_select_flush(struct BMEditMesh *em); bool EDBM_vert_color_check(struct BMEditMesh *em); -void EDBM_mesh_hide(struct BMEditMesh *em, bool swap); -void EDBM_mesh_reveal(struct BMEditMesh *em, bool select); +bool EDBM_mesh_hide(struct BMEditMesh *em, bool swap); +bool EDBM_mesh_reveal(struct BMEditMesh *em, bool select); void EDBM_update_generic(struct BMEditMesh *em, const bool do_tessface, const bool is_destructive); |