[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61121] branches/soc-2013-sketch_mesh: rename rna repetitions to iterations

Campbell Barton ideasman42 at gmail.com
Tue Nov 5 12:50:05 CET 2013


Revision: 61121
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61121
Author:   campbellbarton
Date:     2013-11-05 11:50:05 +0000 (Tue, 05 Nov 2013)
Log Message:
-----------
rename rna repetitions to iterations

Modified Paths:
--------------
    branches/soc-2013-sketch_mesh/release/scripts/startup/bl_ui/properties_data_modifier.py
    branches/soc-2013-sketch_mesh/source/blender/makesrna/intern/rna_modifier.c

Modified: branches/soc-2013-sketch_mesh/release/scripts/startup/bl_ui/properties_data_modifier.py
===================================================================
--- branches/soc-2013-sketch_mesh/release/scripts/startup/bl_ui/properties_data_modifier.py	2013-11-05 11:46:08 UTC (rev 61120)
+++ branches/soc-2013-sketch_mesh/release/scripts/startup/bl_ui/properties_data_modifier.py	2013-11-05 11:50:05 UTC (rev 61121)
@@ -374,7 +374,7 @@
             row.operator("object.hook_assign", text="Assign")
 
     def LAPLACIANDEFORM(self, layout, ob, md):
-        layout.prop(md, "repetitions")
+        layout.prop(md, "iterations")
         layout.label(text="Anchors Vertex Group:")
         layout.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
 

Modified: branches/soc-2013-sketch_mesh/source/blender/makesrna/intern/rna_modifier.c
===================================================================
--- branches/soc-2013-sketch_mesh/source/blender/makesrna/intern/rna_modifier.c	2013-11-05 11:46:08 UTC (rev 61120)
+++ branches/soc-2013-sketch_mesh/source/blender/makesrna/intern/rna_modifier.c	2013-11-05 11:50:05 UTC (rev 61121)
@@ -3683,16 +3683,13 @@
 	                         "Name of Vertex Group which determines Anchors");
 	RNA_def_property_string_funcs(prop, NULL, NULL, "rna_LaplacianDeformModifier_vgroup_set");
 
-	prop = RNA_def_property(srna, "repetitions", PROP_INT, PROP_NONE);
+	prop = RNA_def_property(srna, "iterations", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "repeat");
 	RNA_def_property_ui_range(prop, 1, 50, 1, -1);
 	RNA_def_property_ui_text(prop, "Repeat", "");
 	RNA_def_property_update(prop, 0, "rna_Modifier_update");
 
 	RNA_def_property_update(prop, 0, "rna_Modifier_update");
- 
- 
- 
 }
 
 void RNA_def_modifier(BlenderRNA *brna)




More information about the Bf-blender-cvs mailing list