- Mathutils.Vector assignment wasnt working in the BGE's py api, was using getValue() rather than setValue()

- added GPL header to bpy_interface.c from 2.4x's BPY_interface.c
- warning fixes
This commit is contained in:
2009-08-26 06:15:43 +00:00
parent d893b0f9ff
commit 4342235489
6 changed files with 47 additions and 9 deletions

View 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;
}