diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-02 20:35:29 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-02 20:35:29 +0300 |
commit | 836db3aee80008def4edb5c32c1cd7eccddc862f (patch) | |
tree | 3c7476480e61726d607c895e675290761c8b292e /source/blender/editors | |
parent | 45751065c0e13242e08ef0d0b3dbecf9b4a05baa (diff) |
Add Assign Material option to Special menu (W key)
Also some renames and cleanups.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c index 3a86b0c13ef..b2e1758b169 100644 --- a/source/blender/editors/gpencil/gpencil_ops.c +++ b/source/blender/editors/gpencil/gpencil_ops.c @@ -299,7 +299,7 @@ static void ed_keymap_gpencil_sculpt(wmKeyMap *keymap) RNA_string_set(kmi->ptr, "data_path_primary", "tool_settings.gpencil_sculpt.brush.size"); /* menu sculpt specials */ - WM_keymap_add_menu(keymap, "GPENCIL_MT_gpencil_sculpt_specials", WKEY, KM_PRESS, 0, 0); + WM_keymap_add_menu(keymap, "VIEW3D_MT_gpencil_sculpt_specials", WKEY, KM_PRESS, 0, 0); } static void ed_keymap_gpencil_weight(wmKeyMap *keymap) @@ -371,7 +371,7 @@ static void ed_keymap_gpencil_editing(wmKeyConfig *keyconf) WM_keymap_add_item(keymap, "GPENCIL_OT_active_frames_delete_all", DELKEY, KM_PRESS, KM_SHIFT, 0); /* menu edit specials */ - WM_keymap_add_menu(keymap, "GPENCIL_MT_gpencil_edit_specials", WKEY, KM_PRESS, 0, 0); + WM_keymap_add_menu(keymap, "VIEW3D_MT_gpencil_edit_specials", WKEY, KM_PRESS, 0, 0); /* menu separate */ WM_keymap_add_menu(keymap, "GPENCIL_MT_separate", PKEY, KM_PRESS, 0, 0); |