forked from bartvdbraak/blender
Use enum menu for angle source in sculpt mode -- rake toggling wasn't
working due to it's 3 possible sources.
This commit is contained in:
parent
474fe33301
commit
1745113639
@ -514,8 +514,8 @@ void ED_keymap_paint(wmKeyConfig *keyconf)
|
|||||||
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", SKEY, KM_PRESS, KM_SHIFT, 0);
|
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", SKEY, KM_PRESS, KM_SHIFT, 0);
|
||||||
RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.use_smooth_stroke");
|
RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.use_smooth_stroke");
|
||||||
|
|
||||||
kmi = WM_keymap_add_item(keymap, "WM_OT_context_toggle", RKEY, KM_PRESS, 0, 0);
|
kmi = WM_keymap_add_item(keymap, "WM_OT_context_menu_enum", RKEY, KM_PRESS, 0, 0);
|
||||||
RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.use_rake");
|
RNA_string_set(kmi->ptr, "data_path", "tool_settings.sculpt.brush.texture_angle_source_random");
|
||||||
|
|
||||||
/* Vertex Paint mode */
|
/* Vertex Paint mode */
|
||||||
keymap= WM_keymap_find(keyconf, "Vertex Paint", 0, 0);
|
keymap= WM_keymap_find(keyconf, "Vertex Paint", 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user