[Bf-blender-cvs] [7d770ea] temp_custom_loop_normals: Minor fix comments.

Bastien Montagne noreply at git.blender.org
Wed Feb 4 18:17:20 CET 2015


Commit: 7d770eaeb80099d030877add4f56f432c5c7921d
Author: Bastien Montagne
Date:   Wed Feb 4 17:43:55 2015 +0100
Branches: temp_custom_loop_normals
https://developer.blender.org/rB7d770eaeb80099d030877add4f56f432c5c7921d

Minor fix comments.

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

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 8c5bcaf..90a811a 100644
--- a/source/blender/makesrna/intern/rna_mesh_api.c
+++ b/source/blender/makesrna/intern/rna_mesh_api.c
@@ -284,7 +284,7 @@ void RNA_api_mesh(StructRNA *srna)
 	func = RNA_def_function(srna, "normals_split_custom_set", "rna_Mesh_normals_split_custom_set");
 	RNA_def_function_ui_description(func,
 	                                "Define custom split normals of this mesh "
-	                                "(ommit normals to keep auto ones)");
+	                                "(use zero-vectors to keep auto ones)");
 	RNA_def_function_flag(func, FUNC_USE_REPORTS);
 	/* TODO, see how array size of 0 works, this shouldnt be used */
 	parm = RNA_def_float_array(func, "normals", 1, NULL, -1.0f, 1.0f, "", "Normals", 0.0f, 0.0f);
@@ -295,7 +295,7 @@ void RNA_api_mesh(StructRNA *srna)
 	                        "rna_Mesh_normals_split_custom_set_from_vertices");
 	RNA_def_function_ui_description(func,
 	                                "Define custom split normals of this mesh, from vertices' normals "
-	                                "(ommit normals to keep auto ones)");
+	                                "(use zero-vectors to keep auto ones)");
 	RNA_def_function_flag(func, FUNC_USE_REPORTS);
 	/* TODO, see how array size of 0 works, this shouldnt be used */
 	parm = RNA_def_float_array(func, "normals", 1, NULL, -1.0f, 1.0f, "", "Normals", 0.0f, 0.0f);




More information about the Bf-blender-cvs mailing list