Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stokes <kupomail@gmail.com>2013-08-07 01:52:05 +0400
committerDaniel Stokes <kupomail@gmail.com>2013-08-07 01:52:05 +0400
commit3c8cdb8c6813c8ef9655054948419fb51c7af09f (patch)
tree0b66c19d9da0ca140cf54aa0fb65666575c58f99 /source/gameengine
parent1dc993ecd2d59e30d0ffcb49bb44a6073e6eb254 (diff)
BGE Fix [#33215] KX_MeshProxy.transformUV() argument ValueError
Diffstat (limited to 'source/gameengine')
-rw-r--r--source/gameengine/Ketsji/KX_MeshProxy.cpp2
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;