diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-19 00:38:27 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2012-11-19 00:38:27 +0400 |
commit | 2bed09e7a6a6b32dd485a91a444dcff917115767 (patch) | |
tree | e924dfaf5eb79dbc1c2df782a83c832ced870a54 /source/gameengine | |
parent | 0aadad0896a0fd5c490938bbfffc9fb127d7cf3e (diff) |
BGE: Changing "transform_uv" -> "transformUV" in some error messages.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Ketsji/KX_MeshProxy.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/gameengine/Ketsji/KX_MeshProxy.cpp b/source/gameengine/Ketsji/KX_MeshProxy.cpp index 0188a7e15b8..dbbf6bd8c2a 100644 --- a/source/gameengine/Ketsji/KX_MeshProxy.cpp +++ b/source/gameengine/Ketsji/KX_MeshProxy.cpp @@ -292,7 +292,7 @@ PyObject *KX_MeshProxy::PyTransformUV(PyObject *args, PyObject *kwds) MT_Matrix4x4 transform; - if (!PyArg_ParseTuple(args,"iO|iii:transform_uv", &matindex, &pymat, &uvindex, &uvindex_from) || + if (!PyArg_ParseTuple(args,"iO|iii:transformUV", &matindex, &pymat, &uvindex, &uvindex_from) || !PyMatTo(pymat, transform)) { return NULL; @@ -300,12 +300,12 @@ PyObject *KX_MeshProxy::PyTransformUV(PyObject *args, PyObject *kwds) if (uvindex < -1 || uvindex > 1) { PyErr_Format(PyExc_ValueError, - "mesh.transform_uv(...): invalid uv_index %d", uvindex); + "mesh.transformUV(...): invalid uv_index %d", uvindex); return NULL; } if (uvindex_from < -1 || uvindex_from > 1 || uvindex == -1) { PyErr_Format(PyExc_ValueError, - "mesh.transform_uv(...): invalid uv_index_from %d", uvindex); + "mesh.transformUV(...): invalid uv_index_from %d", uvindex); return NULL; } if (uvindex_from == uvindex) { @@ -365,7 +365,7 @@ PyObject *KX_MeshProxy::PyTransformUV(PyObject *args, PyObject *kwds) if (ok == false) { PyErr_Format(PyExc_ValueError, - "mesh.transform_uv(...): invalid material index %d", matindex); + "mesh.transformUV(...): invalid material index %d", matindex); return NULL; } |