diff options
author | Joshua Leung <aligorith@gmail.com> | 2013-03-16 06:53:45 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2013-03-16 06:53:45 +0400 |
commit | 4db11a9e55c39eac9d2f061e87124aa30d0bfe26 (patch) | |
tree | db516360f93fe8253f4b9d379bf365e7ad5cd925 /source/blender/makesrna/intern/rna_gpencil.c | |
parent | ce1a1d94d031af84b38a1cbb53465cbf4cfa163c (diff) |
Assorted small fixes
* Incorrect comment (copy+paste error) in nla_edit
* Whitespace in rna_gpencil
* The icon for AnimData is now attached to its RNA definition
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index af539372720..7156b76bab2 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -548,7 +548,9 @@ static void rna_def_gpencil_layer(BlenderRNA *brna) RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", GP_LAYER_NO_XRAY); RNA_def_property_ui_text(prop, "X Ray", "Make the layer draw in front of objects"); RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); - + + + /* Layers API */ func = RNA_def_function(srna, "clear", "rna_GPencil_layer_clear"); RNA_def_function_ui_description(func, "Remove all the grease pencil layer data"); } |