[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [45366] trunk/blender/source/blender/ makesrna/intern/rna_mesh.c: missed these last commit

Campbell Barton ideasman42 at gmail.com
Tue Apr 3 13:15:02 CEST 2012


Revision: 45366
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=45366
Author:   campbellbarton
Date:     2012-04-03 11:15:01 +0000 (Tue, 03 Apr 2012)
Log Message:
-----------
missed these last commit

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_mesh.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_mesh.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2012-04-03 11:10:26 UTC (rev 45365)
+++ trunk/blender/source/blender/makesrna/intern/rna_mesh.c	2012-04-03 11:15:01 UTC (rev 45366)
@@ -1213,7 +1213,7 @@
 	return ptr;
 }
 
-static PointerRNA rna_Mesh_int_property_new(struct Mesh *me, struct bContext *C, const char *name)
+static PointerRNA rna_Mesh_polygon_int_property_new(struct Mesh *me, struct bContext *C, const char *name)
 {
 	PointerRNA ptr;
 	CustomDataLayer *cdl = NULL;
@@ -1228,7 +1228,7 @@
 	return ptr;
 }
 
-static PointerRNA rna_Mesh_float_property_new(struct Mesh *me, struct bContext *C, const char *name)
+static PointerRNA rna_Mesh_polygon_float_property_new(struct Mesh *me, struct bContext *C, const char *name)
 {
 	PointerRNA ptr;
 	CustomDataLayer *cdl = NULL;
@@ -1243,7 +1243,7 @@
 	return ptr;
 }
 
-static PointerRNA rna_Mesh_string_property_new(struct Mesh *me, struct bContext *C, const char *name)
+static PointerRNA rna_Mesh_polygon_string_property_new(struct Mesh *me, struct bContext *C, const char *name)
 {
 	PointerRNA ptr;
 	CustomDataLayer *cdl = NULL;
@@ -2324,7 +2324,7 @@
 }
 
 /* mesh int layers */
-static void rna_def_int_layers(BlenderRNA *brna, PropertyRNA *cprop)
+static void rna_def_polygon_int_layers(BlenderRNA *brna, PropertyRNA *cprop)
 {
 	StructRNA *srna;
 
@@ -2336,7 +2336,7 @@
 	RNA_def_struct_sdna(srna, "Mesh");
 	RNA_def_struct_ui_text(srna, "Int Properties", "Collection of int properties");
 
-	func = RNA_def_function(srna, "new", "rna_Mesh_int_property_new");
+	func = RNA_def_function(srna, "new", "rna_Mesh_polygon_int_property_new");
 	RNA_def_function_flag(func, FUNC_USE_CONTEXT);
 	RNA_def_function_ui_description(func, "Add a integer property layer to Mesh");
 	RNA_def_string(func, "name", "Int Prop", 0, "",  "Int property name");
@@ -2346,7 +2346,7 @@
 }
 
 /* mesh float layers */
-static void rna_def_float_layers(BlenderRNA *brna, PropertyRNA *cprop)
+static void rna_def_polygon_float_layers(BlenderRNA *brna, PropertyRNA *cprop)
 {
 	StructRNA *srna;
 
@@ -2358,7 +2358,7 @@
 	RNA_def_struct_sdna(srna, "Mesh");
 	RNA_def_struct_ui_text(srna, "Float Properties", "Collection of float properties");
 
-	func = RNA_def_function(srna, "new", "rna_Mesh_float_property_new");
+	func = RNA_def_function(srna, "new", "rna_Mesh_polygon_float_property_new");
 	RNA_def_function_flag(func, FUNC_USE_CONTEXT);
 	RNA_def_function_ui_description(func, "Add a float property layer to Mesh");
 	RNA_def_string(func, "name", "Float Prop", 0, "", "Float property name");
@@ -2368,7 +2368,7 @@
 }
 
 /* mesh string layers */
-static void rna_def_string_layers(BlenderRNA *brna, PropertyRNA *cprop)
+static void rna_def_polygon_string_layers(BlenderRNA *brna, PropertyRNA *cprop)
 {
 	StructRNA *srna;
 
@@ -2380,7 +2380,7 @@
 	RNA_def_struct_sdna(srna, "Mesh");
 	RNA_def_struct_ui_text(srna, "String Properties", "Collection of string properties");
 
-	func = RNA_def_function(srna, "new", "rna_Mesh_string_property_new");
+	func = RNA_def_function(srna, "new", "rna_Mesh_polygon_string_property_new");
 	RNA_def_function_flag(func, FUNC_USE_CONTEXT);
 	RNA_def_function_ui_description(func, "Add a string property layer to Mesh");
 	RNA_def_string(func, "name", "String Prop", 0, "", "String property name");
@@ -2625,7 +2625,7 @@
 	                                  "rna_Mesh_polygon_float_layers_length", NULL, NULL, NULL);
 	RNA_def_property_struct_type(prop, "MeshFloatPropertyLayer");
 	RNA_def_property_ui_text(prop, "Float Property Layers", "");
-	rna_def_float_layers(brna, prop);
+	rna_def_polygon_float_layers(brna, prop);
 
 	prop = RNA_def_property(srna, "polygon_layers_int", PROP_COLLECTION, PROP_NONE);
 	RNA_def_property_collection_sdna(prop, NULL, "pdata.layers", "pdata.totlayer");
@@ -2633,7 +2633,7 @@
 	                                  "rna_Mesh_polygon_int_layers_length", NULL, NULL, NULL);
 	RNA_def_property_struct_type(prop, "MeshIntPropertyLayer");
 	RNA_def_property_ui_text(prop, "Int Property Layers", "");
-	rna_def_int_layers(brna, prop);
+	rna_def_polygon_int_layers(brna, prop);
 
 	prop = RNA_def_property(srna, "polygon_layers_string", PROP_COLLECTION, PROP_NONE);
 	RNA_def_property_collection_sdna(prop, NULL, "pdata.layers", "pdata.totlayer");
@@ -2641,7 +2641,7 @@
 	                                  "rna_Mesh_polygon_string_layers_length", NULL, NULL, NULL);
 	RNA_def_property_struct_type(prop, "MeshStringPropertyLayer");
 	RNA_def_property_ui_text(prop, "String Property Layers", "");
-	rna_def_string_layers(brna, prop);
+	rna_def_polygon_string_layers(brna, prop);
 
 	prop = RNA_def_property(srna, "use_auto_smooth", PROP_BOOLEAN, PROP_NONE);
 	RNA_def_property_boolean_sdna(prop, NULL, "flag", ME_AUTOSMOOTH);




More information about the Bf-blender-cvs mailing list