diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-04-03 21:38:43 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-04-03 21:38:43 +0400 |
commit | 824be96dc053dbb159efbd40433dbb9a798a785d (patch) | |
tree | df7fe8b762efb9fe59dae2d060b4a8d34f5807c8 /source/blender/editors/space_view3d/view3d_ops.c | |
parent | ea44ea86f9d74efe90827294ffa2d9069ce72f4d (diff) |
More work on Drag Immediate:
- Rename option and flag to something more sane
- Add property to manipulator operator and set true by default
Confirm on Release can now be forced true or false per operator, in which case it won't use the default value (the user preference).
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_ops.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_ops.c b/source/blender/editors/space_view3d/view3d_ops.c index ccc2717556d..d2fda2f2f76 100644 --- a/source/blender/editors/space_view3d/view3d_ops.c +++ b/source/blender/editors/space_view3d/view3d_ops.c @@ -115,7 +115,8 @@ void view3d_keymap(wmKeyConfig *keyconf) /* only for region 3D window */ keymap= WM_keymap_find(keyconf, "3D View", SPACE_VIEW3D, 0); - WM_keymap_verify_item(keymap, "VIEW3D_OT_manipulator", LEFTMOUSE, KM_PRESS, KM_ANY, 0); + kmi = WM_keymap_verify_item(keymap, "VIEW3D_OT_manipulator", LEFTMOUSE, KM_PRESS, KM_ANY, 0); + RNA_boolean_set(kmi->ptr, "release_confirm", 1); /* * Doesn't work with KM_SHIFT, have to use KM_ANY and filter in invoke * */ |