[Bf-blender-cvs] [c755d8f] master: RNA: rename mesh validate argument

Campbell Barton noreply at git.blender.org
Wed Mar 4 05:15:51 CET 2015


Commit: c755d8fbb520fbcf2a6d891dd623c0902369b183
Author: Campbell Barton
Date:   Wed Mar 4 12:58:14 2015 +1100
Branches: master
https://developer.blender.org/rBc755d8fbb520fbcf2a6d891dd623c0902369b183

RNA: rename mesh validate argument

cleanup_cddata -> clean_customdata

===================================================================

M	source/blender/makesrna/intern/rna_mesh_api.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_mesh_api.c b/source/blender/makesrna/intern/rna_mesh_api.c
index 53704e2..3f48769 100644
--- a/source/blender/makesrna/intern/rna_mesh_api.c
+++ b/source/blender/makesrna/intern/rna_mesh_api.c
@@ -317,8 +317,8 @@ void RNA_api_mesh(StructRNA *srna)
 	RNA_def_function_ui_description(func, "Validate geometry, return True when the mesh has had "
 	                                "invalid geometry corrected/removed");
 	RNA_def_boolean(func, "verbose", false, "Verbose", "Output information about the errors found");
-	RNA_def_boolean(func, "cleanup_cddata", true, "Cleanup CDData",
-	                "Remove temp/cached cdlayers, like e.g. normals...");
+	RNA_def_boolean(func, "clean_customdata", true, "Clean Custom Data",
+	                "Remove temp/cached custom-data layers, like e.g. normals...");
 	parm = RNA_def_boolean(func, "result", 0, "Result", "");
 	RNA_def_function_return(func, parm);




More information about the Bf-blender-cvs mailing list