diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-20 20:03:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-20 20:03:34 +0400 |
commit | f8611bac8f805974d71501b323ec4a8adf9405d0 (patch) | |
tree | 6356141f42e0aef1a58495c8a65c70455ceceeb3 /source/blender/editors/include | |
parent | 447de0a6c4b9be8d5ca37d4827f2e3b703657d08 (diff) |
- add knife project to toolbar.
- when running knife project, disable vertex selection since it may select areas between the newly cut regions.
add EDBM_selectmode_disable() function since loopcut does this too.
- (optimization) avoid looping over all geometry when flushing and no selection exists.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index 7257011e28a..8d389946e4a 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -161,6 +161,9 @@ void EDBM_selectmode_convert(struct BMEditMesh *em, const short selectmode_old, bool EDBM_selectmode_toggle(struct bContext *C, const short selectmode_new, const int action, const bool use_extend, const bool use_expand); +bool EDBM_selectmode_disable(struct Scene *scene, struct BMEditMesh *em, + const short selectmode_disable, + const short selectmode_fallback); void EDBM_deselect_by_material(struct BMEditMesh *em, const short index, const short select); |