diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-11 06:11:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-11 06:58:55 +0300 |
commit | 3929db265fe75eb6cdb3d0d8a8c54641843928f0 (patch) | |
tree | 46ea2db19c490b9f67ecc8a20c633e6b3917bcdc /source/blender/editors/include | |
parent | 22ffd69a91c9287e4f61e620ec2beaf9b1ff22c1 (diff) |
Fix T92954: Loop Cut Tool preview line visible during operation
Apply a local-workaround instead of adding support for this use-case
since pre-selection isn't the intended purpose of gizmos.
This also resolves a glitch where poly-build and loop cut would
briefly show loop-cut or poly-build pre-selection after transforming.
See gizmo_preselect_poll_for_draw note for more details.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index aa86f07692d..8e19628ec87 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -844,6 +844,7 @@ void ED_view3d_gizmo_mesh_preselect_get_active(struct bContext *C, struct wmGizmo *gz, struct Base **r_base, struct BMElem **r_ele); +void ED_view3d_gizmo_mesh_preselect_clear(struct wmGizmo *gz); /* space_view3d.c */ void ED_view3d_buttons_region_layout_ex(const struct bContext *C, |