[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [54981] branches/soc-2008-mxcurioni: Renamed FreestyleLineSet.use to .show_render.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sun Mar 3 00:30:24 CET 2013


Revision: 54981
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=54981
Author:   kjym3
Date:     2013-03-02 23:30:23 +0000 (Sat, 02 Mar 2013)
Log Message:
-----------
Renamed FreestyleLineSet.use to .show_render.
Based on review comment from Campbell.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/release/scripts/startup/bl_ui/properties_render_layer.py
    branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_scene.c

Modified: branches/soc-2008-mxcurioni/release/scripts/startup/bl_ui/properties_render_layer.py
===================================================================
--- branches/soc-2008-mxcurioni/release/scripts/startup/bl_ui/properties_render_layer.py	2013-03-02 23:17:35 UTC (rev 54980)
+++ branches/soc-2008-mxcurioni/release/scripts/startup/bl_ui/properties_render_layer.py	2013-03-02 23:30:23 UTC (rev 54981)
@@ -78,7 +78,7 @@
         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)

Modified: branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_scene.c
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_scene.c	2013-03-02 23:17:35 UTC (rev 54980)
+++ branches/soc-2008-mxcurioni/source/blender/makesrna/intern/rna_scene.c	2013-03-02 23:30:23 UTC (rev 54981)
@@ -2501,9 +2501,9 @@
 	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);




More information about the Bf-blender-cvs mailing list