diff options
author | Scott Petrovic <scottpetrovic@gmail.com> | 2013-12-12 21:39:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-12 21:40:30 +0400 |
commit | c701082a928b4390f1fb910f2eb7520b45b4cdf1 (patch) | |
tree | f4112628d42741beec4b3922a6fdac7811c7949a /source/blender/makesrna/intern/rna_gpencil.c | |
parent | 6c96535fd887c96cd013812d53085b28a5203d5a (diff) |
RNA: Add pixels property type
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index 6423763c49c..cdedb3576b0 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -489,7 +489,7 @@ static void rna_def_gpencil_layer(BlenderRNA *brna) RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, "rna_GPencil_update"); /* Line Thickness */ - prop = RNA_def_property(srna, "line_width", PROP_INT, PROP_NONE); + prop = RNA_def_property(srna, "line_width", PROP_INT, PROP_PIXEL); RNA_def_property_int_sdna(prop, NULL, "thickness"); RNA_def_property_range(prop, 1, 10); RNA_def_property_ui_text(prop, "Thickness", "Thickness of strokes (in pixels)"); |