[Bf-blender-cvs] [890c948] framebuffer: From review: error is called from callback already
Dalai Felinto
noreply at git.blender.org
Fri Oct 9 16:42:21 CEST 2015
Commit: 890c948553cf8ac4dfd150931c403adac5dbbc3c
Author: Dalai Felinto
Date: Fri Oct 9 11:06:46 2015 -0300
Branches: framebuffer
https://developer.blender.org/rB890c948553cf8ac4dfd150931c403adac5dbbc3c
>From review: error is called from callback already
===================================================================
M source/blender/python/intern/gpu_offscreen.c
===================================================================
diff --git a/source/blender/python/intern/gpu_offscreen.c b/source/blender/python/intern/gpu_offscreen.c
index f4f90df..5919b1a 100644
--- a/source/blender/python/intern/gpu_offscreen.c
+++ b/source/blender/python/intern/gpu_offscreen.c
@@ -164,7 +164,6 @@ static bool pygpu_offscreen_check_matrix(MatrixObject *PyMat, const char *UNUSED
}
if (BaseMath_ReadCallback(PyMat) == -1) {
- PyErr_SetString(PyExc_TypeError, "matrix data could not be accessed");
return false;
}
More information about the Bf-blender-cvs
mailing list