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:
authorAntonioya <blendergit@gmail.com>2018-08-03 18:37:21 +0300
committerAntonioya <blendergit@gmail.com>2018-08-03 18:37:21 +0300
commitf2a8e55fc528b8f73554821453238763d8a0ce94 (patch)
treefbdd742f9f0c4d2464717f3758f3b66cab4ea2fa /source/blender/makesrna/intern/rna_object.c
parent7288d4d8c4a390fb58509120809360a56c00e3cf (diff)
New grease pencil primitive STROKE
This creates a simple stroke with several colors to have a basic structure to start drawing.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r--source/blender/makesrna/intern/rna_object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 36c249228de..2d1814532a2 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -94,6 +94,7 @@ const EnumPropertyItem rna_enum_object_empty_drawtype_items[] = {
const EnumPropertyItem rna_enum_object_gpencil_type_items[] = {
{ GP_EMPTY, "EMPTY", ICON_OUTLINER_OB_GREASEPENCIL, "Blank", "Create an empty grease pencil object" },
+ { GP_STROKE, "STROKE", ICON_OUTLINER_OB_CURVE, "Stroke", "Create a simple stroke with basic colors" },
{ GP_MONKEY, "MONKEY", ICON_MONKEY, "Monkey", "Construct a Suzanne grease pencil object" },
{ 0, NULL, 0, NULL, NULL }
};