Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2014-11-30 14:22:25 +0300
committerJoshua Leung <aligorith@gmail.com>2014-11-30 14:22:25 +0300
commita88a9a74bc6a395451c2e3141a16cec4dab11745 (patch)
tree63bbdca9f822bea708db961355bc9327fcd12af9 /source/blender
parenta783cfddb266888bfc9f1e8745cb51236b8bee1c (diff)
Polish for quick-access pie menusGPencil_EditStrokes
* Settings pie menu (DQ) can now be used to quickly check on and adjust key properties for the active layer. In particular, it's particularly helpful for quickly checking colours and turning onion skinning on/off. * Fleshed out the "More" pie with many of the other tools as well. Also included a link back to the main tools pie (i.e. the one launched with Ctrl-D)
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/gpencil/gpencil_ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c
index 0333131bb2c..ac3ef5f35e3 100644
--- a/source/blender/editors/gpencil/gpencil_ops.c
+++ b/source/blender/editors/gpencil/gpencil_ops.c
@@ -66,7 +66,7 @@ static void ed_keymap_gpencil_general(wmKeyConfig *keyconf)
RNA_enum_set(kmi->ptr, "mode", GP_PAINTMODE_DRAW);
RNA_boolean_set(kmi->ptr, "wait_for_input", false);
-#if 0
+#if 0 // XXX: disabled, since they won't be of any use anymore
/* draw - straight lines */
kmi = WM_keymap_add_item(keymap, "GPENCIL_OT_draw", LEFTMOUSE, KM_PRESS, KM_CTRL, DKEY);
RNA_enum_set(kmi->ptr, "mode", GP_PAINTMODE_DRAW_STRAIGHT);
@@ -91,6 +91,7 @@ static void ed_keymap_gpencil_general(wmKeyConfig *keyconf)
/* Pie Menu - For standard tools */
WM_keymap_add_menu_pie(keymap, "GPENCIL_PIE_tool_palette", DKEY, KM_PRESS, KM_CTRL, 0);
+ WM_keymap_add_menu_pie(keymap, "GPENCIL_PIE_settings_palette", QKEY, KM_PRESS, 0, DKEY);
}
/* ==================== */