- Mathutils.Vector assignment wasnt working in the BGE's py api, was using getValue...
[blender-staging.git] / source / blender / python / generic / vector.c
index 923c4bbe58a9cd943f7515b034425e729600067b..c4a8a37ee05e814e2602a948bf7636e9fa7f7e82 100644 (file)
@@ -168,7 +168,7 @@ static PyObject *Vector_Resize2D(VectorObject * self)
                return NULL;
        }
        if(self->cb_user) {
-               PyErr_SetString(PyExc_TypeError, "vector.resize4d(): cannot resize a vector that has an owner");
+               PyErr_SetString(PyExc_TypeError, "vector.resize2d(): cannot resize a vector that has an owner");
                return NULL;
        }
        
@@ -191,7 +191,7 @@ static PyObject *Vector_Resize3D(VectorObject * self)
                return NULL;
        }
        if(self->cb_user) {
-               PyErr_SetString(PyExc_TypeError, "vector.resize4d(): cannot resize a vector that has an owner");
+               PyErr_SetString(PyExc_TypeError, "vector.resize3d(): cannot resize a vector that has an owner");
                return NULL;
        }