update python api with changes from Joshua's commit r33917. translate reports into python errors.
This commit is contained in:
@@ -180,7 +180,7 @@ static PyObject *pyop_call(PyObject *UNUSED(self), PyObject *args)
|
||||
|
||||
operator_ret= WM_operator_call_py(C, ot, context, &ptr, reports);
|
||||
|
||||
if(BPy_reports_to_error(reports))
|
||||
if(BPy_reports_to_error(reports, FALSE))
|
||||
error_val = -1;
|
||||
|
||||
/* operator output is nice to have in the terminal/console too */
|
||||
|
||||
Reference in New Issue
Block a user