diff options
author | Daniel Stokes <kupomail@gmail.com> | 2013-08-07 01:52:05 +0400 |
---|---|---|
committer | Daniel Stokes <kupomail@gmail.com> | 2013-08-07 01:52:05 +0400 |
commit | 3c8cdb8c6813c8ef9655054948419fb51c7af09f (patch) | |
tree | 0b66c19d9da0ca140cf54aa0fb65666575c58f99 | |
parent | 1dc993ecd2d59e30d0ffcb49bb44a6073e6eb254 (diff) |
BGE Fix [#33215] KX_MeshProxy.transformUV() argument ValueError
-rw-r--r-- | source/gameengine/Ketsji/KX_MeshProxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_MeshProxy.cpp b/source/gameengine/Ketsji/KX_MeshProxy.cpp index f7cd13acf27..2a9d59e8b7b 100644 --- a/source/gameengine/Ketsji/KX_MeshProxy.cpp +++ b/source/gameengine/Ketsji/KX_MeshProxy.cpp @@ -303,7 +303,7 @@ PyObject *KX_MeshProxy::PyTransformUV(PyObject *args, PyObject *kwds) "mesh.transformUV(...): invalid uv_index %d", uvindex); return NULL; } - if (uvindex_from < -1 || uvindex_from > 1 || uvindex == -1) { + if (uvindex_from < -1 || uvindex_from > 1) { PyErr_Format(PyExc_ValueError, "mesh.transformUV(...): invalid uv_index_from %d", uvindex); return NULL; |