[Bf-blender-cvs] [cec0138] master: Note that closest_point_on_mesh is in object space

Campbell Barton noreply at git.blender.org
Tue Jun 30 07:52:48 CEST 2015


Commit: cec0138bcc1ca4d8d43e78bc61caac3e2494dd94
Author: Campbell Barton
Date:   Tue Jun 30 15:47:44 2015 +1000
Branches: master
https://developer.blender.org/rBcec0138bcc1ca4d8d43e78bc61caac3e2494dd94

Note that closest_point_on_mesh is in object space

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

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

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

diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index 4b3f34f..55f559c 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -621,7 +621,7 @@ void RNA_api_object(StructRNA *srna)
 
 	/* Nearest Point */
 	func = RNA_def_function(srna, "closest_point_on_mesh", "rna_Object_closest_point_on_mesh");
-	RNA_def_function_ui_description(func, "Find the nearest point on the object");
+	RNA_def_function_ui_description(func, "Find the nearest point in object space");
 	RNA_def_function_flag(func, FUNC_USE_REPORTS);
 
 	/* location of point for test and max distance */




More information about the Bf-blender-cvs mailing list