diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-13 04:54:30 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2014-05-13 11:18:29 +0400 |
commit | 2c72bb1c191d830f97ad61492792e17ea9cf36ec (patch) | |
tree | f1bdc00890116e759254b8c40e59ccc5a172533d /source/blender/makesrna | |
parent | a31962287a543c0c41eb5289fa1c7dad0d5cca41 (diff) |
Freestyle: code clean-up.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_linestyle.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c index a04e054fa84..ec0efeddd3f 100644 --- a/source/blender/makesrna/intern/rna_linestyle.c +++ b/source/blender/makesrna/intern/rna_linestyle.c @@ -1386,6 +1386,12 @@ static void rna_def_linestyle(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Thickness Modifiers", "List of line thickness modifiers"); rna_def_freestyle_thickness_modifiers(brna, prop); + prop = RNA_def_property(srna, "geometry_modifiers", PROP_COLLECTION, PROP_NONE); + RNA_def_property_collection_sdna(prop, NULL, "geometry_modifiers", NULL); + RNA_def_property_struct_type(prop, "LineStyleGeometryModifier"); + RNA_def_property_ui_text(prop, "Geometry Modifiers", "List of stroke geometry modifiers"); + rna_def_freestyle_geometry_modifiers(brna, prop); + prop = RNA_def_property(srna, "use_chaining", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_negative_sdna(prop, NULL, "flag", LS_NO_CHAINING); RNA_def_property_ui_text(prop, "Chaining", "Enable chaining of feature edges"); @@ -1403,12 +1409,6 @@ static void rna_def_linestyle(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Rounds", "Number of rounds in a sketchy multiple touch"); RNA_def_property_update(prop, NC_LINESTYLE, NULL); - prop = RNA_def_property(srna, "geometry_modifiers", PROP_COLLECTION, PROP_NONE); - RNA_def_property_collection_sdna(prop, NULL, "geometry_modifiers", NULL); - RNA_def_property_struct_type(prop, "LineStyleGeometryModifier"); - RNA_def_property_ui_text(prop, "Geometry Modifiers", "List of stroke geometry modifiers"); - rna_def_freestyle_geometry_modifiers(brna, prop); - prop = RNA_def_property(srna, "use_same_object", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", LS_SAME_OBJECT); RNA_def_property_ui_text(prop, "Same Object", "If true, only feature edges of the same object are joined"); |