diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-08-30 09:54:27 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-08-30 09:54:27 +0400 |
commit | 05ebac71ca72966efd2d5d8692f5959c33a9d621 (patch) | |
tree | 56f3d92f49e56186651a59a6fbf686295f16c197 /source/blender/makesrna/intern/rna_gpencil.c | |
parent | e104b429295766f9276ea854e02f085cf65e623f (diff) |
Grease Pencil: Bugfix (Dots) + RNA Wrapping
* Making single dots should be possible again.
* Wrapped the debug option, 'Show Points', for layers, which makes all the points on the layer get drawn with dots indicating positions of stroke points.
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index 340ba1a0f31..e025aca010c 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -208,6 +208,10 @@ void rna_def_gpencil_layer(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_SELECT); RNA_def_property_ui_text(prop, "Selected", "Layer is selected for editing in the DopeSheet."); + prop= RNA_def_property(srna, "show_points", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "flag", GP_LAYER_DRAWDEBUG); + RNA_def_property_ui_text(prop, "Show Points", "Draw the points which make up the strokes (for debugging purposes)."); + } void rna_def_gpencil_data(BlenderRNA *brna) |