From 3c8cdb8c6813c8ef9655054948419fb51c7af09f Mon Sep 17 00:00:00 2001 From: Daniel Stokes Date: Tue, 6 Aug 2013 21:52:05 +0000 Subject: BGE Fix [#33215] KX_MeshProxy.transformUV() argument ValueError --- source/gameengine/Ketsji/KX_MeshProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine/Ketsji/KX_MeshProxy.cpp') 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; -- cgit v1.2.3