diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-05-01 11:39:21 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-05-01 11:39:21 +0400 |
commit | 05538a7c54408d59e7caf7b79b0ce8960f50a2a6 (patch) | |
tree | 95afe968a28385e13796b3f343760b057ca149d0 /source/blender/editors/sculpt_paint | |
parent | 22c2aef77c63cf4cbe19a1c5a8ea4671ef6440bd (diff) |
Fix #27239: "A" menu in Sculptmode fails
Simple incorrect property accessing fix (enum_items vs. items).
Additional change: removed hotkey to toggle airbrush in sculpt mode
TODO: incorrect hotkeys are shown in stroke method menu, but it's how
hotkey string detecting works now.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index 3b4b828d0f6..577e9739537 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -517,9 +517,6 @@ void ED_keymap_paint(wmKeyConfig *keyconf) kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", RKEY, KM_PRESS, 0, 0); RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.use_rake"); - kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", AKEY, KM_PRESS, KM_SHIFT, 0); - RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.use_airbrush"); - /* Vertex Paint mode */ keymap= WM_keymap_find(keyconf, "Vertex Paint", 0, 0); keymap->poll= vertex_paint_mode_poll; |