missed last commit

This commit is contained in:
Campbell Barton 2015-01-27 03:41:05 +11:00
parent b94efe0e8b
commit 59e2f919ac
Notes: blender-bot 2023-02-14 09:55:18 +01:00
Referenced by issue #43475, Rendered Viewport Crash with Ashikhmin-Shirley Glossy BSDF
Referenced by issue #43458, Freezing and Crashing Wings
Referenced by issue #43432, Light groups lit all the materials on different scenes
Referenced by issue #43424, undo changes the active scene
Referenced by issue #42338, issue with shortcuts
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}