diff --git a/source/gameengine/VideoTexture/ImageBase.cpp b/source/gameengine/VideoTexture/ImageBase.cpp index 5a07b84fa12..23da528009d 100644 --- a/source/gameengine/VideoTexture/ImageBase.cpp +++ b/source/gameengine/VideoTexture/ImageBase.cpp @@ -718,7 +718,6 @@ static int Image_getbuffer(PyImage *self, Py_buffer *view, int flags) image = self->m_image->getImage(); } catch (Exception & exp) { - // cannot return -1, this creates a crash in Python, for now we will just return an empty buffer exp.report(); return -1; }