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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-05-13 04:54:30 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-05-13 11:18:29 +0400
commit2c72bb1c191d830f97ad61492792e17ea9cf36ec (patch)
treef1bdc00890116e759254b8c40e59ccc5a172533d /source/blender/makesrna/intern/rna_linestyle.c
parenta31962287a543c0c41eb5289fa1c7dad0d5cca41 (diff)
Freestyle: code clean-up.
Diffstat (limited to 'source/blender/makesrna/intern/rna_linestyle.c')
-rw-r--r--source/blender/makesrna/intern/rna_linestyle.c12
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");