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-05-06 03:25:12 +0400
committerJoshua Leung <aligorith@gmail.com>2009-05-06 03:25:12 +0400
commit8858546ab4786dbd044c5717a926440a8a839df5 (patch)
tree61b89d32fd2b4c5272826d0714089ba228a722c3 /source/blender/editors/gpencil/gpencil_edit.c
parent405cf80eb8dc2df8ae160aee70aef34052add24a (diff)
2.5 - Scons compiling fix for BDiego's commit
Was missing includes for blenfont module in a few places.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_edit.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index d84b93267a6..bad86c170ab 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -522,6 +522,7 @@ static void gp_stroke_to_bonechain (bGPDlayer *gpl, bGPDstroke *gps, bArmature *
}
/* convert a given grease-pencil layer to a 3d-curve representation (using current view if appropriate) */
+// XXX depreceated... we now have etch-a-ton for this...
static void gp_layer_to_armature (bGPdata *gpd, bGPDlayer *gpl, Scene *scene, View3D *v3d, short mode)
{
bGPDframe *gpf= gpencil_layer_getframe(gpl, scene->r.cfra, 0);
@@ -620,21 +621,6 @@ void gpencil_convert_operation (short mode)
BIF_undo_push("GPencil Convert");
}
-/* display a menu for converting grease-pencil strokes */
-void gpencil_convert_menu (void)
-{
- bGPdata *gpd= gpencil_data_getactive(NULL);
- short mode;
-
- /* only show menu if it will be relevant */
- if (gpd == NULL) return;
-
- mode= pupmenu("Grease Pencil Convert %t|Active Layer To Path%x1|Active Layer to Bezier%x2|Active Layer to Armature%x3");
- if (mode <= 0) return;
-
- gpencil_convert_operation(mode);
-}
-
/* ************************************************** */
/* GREASE-PENCIL EDITING MODE - Painting */