Renamed FreestyleLineSet.use to .show_render.
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sat, 2 Mar 2013 23:30:23 +0000 (23:30 +0000)
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>
Sat, 2 Mar 2013 23:30:23 +0000 (23:30 +0000)
Based on review comment from Campbell.

release/scripts/startup/bl_ui/properties_render_layer.py
source/blender/makesrna/intern/rna_scene.c

index 61750f6e89feb5a3a4e0aab90e61bb881a579696..05fab3aa8355c7f9e484306db372882b3c4a6cea 100644 (file)
@@ -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)
index b9f0632497f8d398cc926dee8285432273e84859..20269005b3f6586d075004d517450b48c3b7eed5 100644 (file)
@@ -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);