[Bf-blender-cvs] [ee051430786] blender2.8: Keymap: disable alt-comma for origin only transform
Campbell Barton
noreply at git.blender.org
Tue Oct 2 11:13:14 CEST 2018
Commit: ee051430786df633a02ac2f3bfca28155662dfad
Author: Campbell Barton
Date: Tue Oct 2 19:07:35 2018 +1000
Branches: blender2.8
https://developer.blender.org/rBee051430786df633a02ac2f3bfca28155662dfad
Keymap: disable alt-comma for origin only transform
This is quite an obscure option only useful in rare cases,
when enabled by accident it's confusing since single objects
can't be transformed.
Also, w/ 2.8x you don't see the option change in the header.
===================================================================
M source/blender/editors/space_view3d/view3d_ops.c
===================================================================
diff --git a/source/blender/editors/space_view3d/view3d_ops.c b/source/blender/editors/space_view3d/view3d_ops.c
index 62f7a9375fd..6635b02a6c7 100644
--- a/source/blender/editors/space_view3d/view3d_ops.c
+++ b/source/blender/editors/space_view3d/view3d_ops.c
@@ -514,10 +514,10 @@ void view3d_keymap(wmKeyConfig *keyconf)
WM_keymap_add_menu_pie(keymap, "VIEW3D_MT_pivot_pie", PERIODKEY, KM_PRESS, 0, 0);
WM_keymap_add_menu_pie(keymap, "VIEW3D_MT_orientations_pie", COMMAKEY, KM_PRESS, 0, 0);
+#ifdef USE_WM_KEYMAP_27X
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", COMMAKEY, KM_PRESS, KM_ALT, 0); /* new in 2.5 */
RNA_string_set(kmi->ptr, "data_path", "tool_settings.use_transform_pivot_point_align");
-
-
+#endif
#ifdef USE_WM_KEYMAP_27X
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", SPACEKEY, KM_PRESS, KM_CTRL, 0); /* new in 2.5 */
More information about the Bf-blender-cvs
mailing list