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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-15 04:59:00 +0300
committerCampbell Barton <campbell@blender.org>2022-03-15 05:01:10 +0300
commitf410efbda0d7f609c1aa4387ac1b7e0421e4bb86 (patch)
tree2da7ac819d19fea7bb2cb3cac06d419cd0f548b6 /source
parentfc259d4c30cba9427b81e66c777b3f165f7ea5ac (diff)
UI: expose "Dolly View" in the menu
This is mainly to expose the shortcut to make Dolly discoverable.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_navigate_dolly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_navigate_dolly.c b/source/blender/editors/space_view3d/view3d_navigate_dolly.c
index 29ccc352950..0237ba8bdeb 100644
--- a/source/blender/editors/space_view3d/view3d_navigate_dolly.c
+++ b/source/blender/editors/space_view3d/view3d_navigate_dolly.c
@@ -316,7 +316,7 @@ void VIEW3D_OT_dolly(wmOperatorType *ot)
ot->cancel = viewdolly_cancel;
/* flags */
- ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR_XY;
+ ot->flag = OPTYPE_BLOCKING | OPTYPE_GRAB_CURSOR_XY | OPTYPE_DEPENDS_ON_CURSOR;
/* properties */
view3d_operator_properties_common(