error message error
authorCampbell Barton <ideasman42@gmail.com>
Fri, 22 Jan 2010 02:24:58 +0000 (02:24 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 22 Jan 2010 02:24:58 +0000 (02:24 +0000)
source/blender/python/generic/vector.c

index 653f482f7242402e65a3dabc85949a378f3b6895..1b68a7ecbe1575049a59319ee09f96336033f396 100644 (file)
@@ -441,7 +441,7 @@ static PyObject *Vector_Dot( VectorObject * self, VectorObject * value )
        int x;
        
        if (!VectorObject_Check(value)) {
-               PyErr_SetString( PyExc_TypeError, "vec.cross(value): expected a vector argument" );
+               PyErr_SetString( PyExc_TypeError, "vec.dot(value): expected a vector argument" );
                return NULL;
        }