[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11502] trunk/blender/source/blender/ python/api2_2x/Mathutils.c: Fix minor typo in error messages for Mathutils. DotVecs(), reported on python ML.
Ken Hughes
khughes at pacific.edu
Mon Aug 6 16:27:09 CEST 2007
Revision: 11502
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11502
Author: khughes
Date: 2007-08-06 16:27:08 +0200 (Mon, 06 Aug 2007)
Log Message:
-----------
Fix minor typo in error messages for Mathutils.DotVecs(), reported on python ML.
Modified Paths:
--------------
trunk/blender/source/blender/python/api2_2x/Mathutils.c
Modified: trunk/blender/source/blender/python/api2_2x/Mathutils.c
===================================================================
--- trunk/blender/source/blender/python/api2_2x/Mathutils.c 2007-08-06 08:13:59 UTC (rev 11501)
+++ trunk/blender/source/blender/python/api2_2x/Mathutils.c 2007-08-06 14:27:08 UTC (rev 11502)
@@ -460,10 +460,10 @@
if(!PyArg_ParseTuple(args, "O!O!", &vector_Type, &vec1, &vector_Type, &vec2))
return EXPP_ReturnPyObjError(PyExc_TypeError,
- "Mathutils.DotVec(): expects (2) vector objects of the same size\n");
+ "Mathutils.DotVecs(): expects (2) vector objects of the same size\n");
if(vec1->size != vec2->size)
return EXPP_ReturnPyObjError(PyExc_AttributeError,
- "Mathutils.DotVec(): expects (2) vector objects of the same size\n");
+ "Mathutils.DotVecs(): expects (2) vector objects of the same size\n");
for(x = 0; x < vec1->size; x++) {
dot += vec1->vec[x] * vec2->vec[x];
More information about the Bf-blender-cvs
mailing list