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-31 05:58:11 +0400
committerJoshua Leung <aligorith@gmail.com>2009-08-31 05:58:11 +0400
commit3fa51df744ea5c4585e4cb53a207a0f106ec2032 (patch)
treea7678d8d1ebb0a5474cc1c942e8f32df79af7378 /source/blender/editors/gpencil/gpencil_ops.c
parent1a968f64dcb706b90a877a1196d0b70a3c57fcff (diff)
Grease Pencil: Restored some editing operators (convert and delete active frame)
* Convert operator - can currently be used to convert active Grease Pencil layer to curves. I had a look at making this part of a special "curve sketching" macro, though it seems that we cannot have modal operators coming first in a macro (and also cannot specify operator calling modes) * Delete Active Frame operator - does what its name say it does. It deletes the active frame for the active layer of Grease Pencil sketches.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_ops.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_ops.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_ops.c b/source/blender/editors/gpencil/gpencil_ops.c
index 3acbded0bf8..d33ad16dfb1 100644
--- a/source/blender/editors/gpencil/gpencil_ops.c
+++ b/source/blender/editors/gpencil/gpencil_ops.c
@@ -76,6 +76,10 @@ void ED_operatortypes_gpencil (void)
WM_operatortype_append(GPENCIL_OT_layer_add);
+ WM_operatortype_append(GPENCIL_OT_active_frame_delete);
+
+ WM_operatortype_append(GPENCIL_OT_convert);
+
/* Editing (Time) --------------- */
}