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>2009-08-29 10:50:32 +0400
committerJoshua Leung <aligorith@gmail.com>2009-08-29 10:50:32 +0400
commit8930a4fd332e69442b4de2efe42019bf5a41c946 (patch)
tree6a276c12cb665324543e67f484a84e6657a32411 /source/blender/editors/gpencil/gpencil_ops.c
parentf46f6dc7ba32411a8031a243bba635c8cc3ade29 (diff)
Grease Pencil: UI (i.e. Panel) for Settings
Restored the UI for access to the GP layers. There are still a few minor bugs here: * Wrong icons on the toggles - even when they're enabled, they only show a single state * The ID-template doesn't seem to be showing up. Dunno what's going wrong there...
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_ops.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_ops.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c
index 347a611ee30..364b27b61b0 100644
--- a/source/blender/editors/gpencil/gpencil_ops.c
+++ b/source/blender/editors/gpencil/gpencil_ops.c
@@ -66,10 +66,16 @@ void gpencil_common_keymap(wmWindowManager *wm, ListBase *keymap)
void ED_operatortypes_gpencil (void)
{
/* Drawing ----------------------- */
+
WM_operatortype_append(GPENCIL_OT_draw);
/* Editing (Buttons) ------------ */
+ WM_operatortype_append(GPENCIL_OT_data_add);
+ WM_operatortype_append(GPENCIL_OT_data_unlink);
+
+ WM_operatortype_append(GPENCIL_OT_layer_add);
+
/* Editing (Time) --------------- */
}