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>2013-03-03 03:30:23 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-03 03:30:23 +0400
commit39b9d925ee1724dc0e16351b112c0c426a3f1921 (patch)
tree229f596ddadba5d7724639de8a1f22c0906b48cd
parent6e5842e5f8792b0ec336b9bd239cb0b36f953202 (diff)
Renamed FreestyleLineSet.use to .show_render.
Based on review comment from Campbell.
-rw-r--r--release/scripts/startup/bl_ui/properties_render_layer.py2
-rw-r--r--source/blender/makesrna/intern/rna_scene.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render_layer.py b/release/scripts/startup/bl_ui/properties_render_layer.py
index 61750f6e89f..05fab3aa835 100644
--- a/release/scripts/startup/bl_ui/properties_render_layer.py
+++ b/release/scripts/startup/bl_ui/properties_render_layer.py
@@ -78,7 +78,7 @@ class RENDERLAYER_UL_linesets(UIList):
lineset = item
if self.layout_type in {'DEFAULT', 'COMPACT'}:
layout.label(lineset.name, icon_value=icon)
- layout.prop(lineset, "use", text="", index=index)
+ layout.prop(lineset, "show_render", text="", index=index)
elif self.layout_type in {'GRID'}:
layout.alignment = 'CENTER'
layout.label("", icon_value=icon)
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index b9f0632497f..20269005b3f 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -2501,9 +2501,9 @@ static void rna_def_freestyle_settings(BlenderRNA *brna)
RNA_def_property_update(prop, NC_SCENE, NULL);
RNA_def_struct_name_property(srna, prop);
- prop = RNA_def_property(srna, "use", PROP_BOOLEAN, PROP_NONE);
+ prop = RNA_def_property(srna, "show_render", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flags", FREESTYLE_LINESET_ENABLED);
- RNA_def_property_ui_text(prop, "Use", "Enable or disable this line set during stroke rendering");
+ RNA_def_property_ui_text(prop, "Render", "Enable or disable this line set during stroke rendering");
RNA_def_property_update(prop, NC_SCENE, NULL);
prop = RNA_def_property(srna, "select_by_visibility", PROP_BOOLEAN, PROP_NONE);