[Bf-blender-cvs] [59e2f91] master: missed last commit

Campbell Barton noreply at git.blender.org
Mon Jan 26 17:41:24 CET 2015


Commit: 59e2f919ac8d99cea01429cb3bcf3d841024f1bd
Author: Campbell Barton
Date:   Tue Jan 27 03:41:05 2015 +1100
Branches: master
https://developer.blender.org/rB59e2f919ac8d99cea01429cb3bcf3d841024f1bd

missed last commit

===================================================================

M	source/gameengine/VideoTexture/ImageBase.cpp

===================================================================

diff --git a/source/gameengine/VideoTexture/ImageBase.cpp b/source/gameengine/VideoTexture/ImageBase.cpp
index 5a07b84..23da528 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;
 	}




More information about the Bf-blender-cvs mailing list