diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-31 08:40:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-31 08:40:30 +0300 |
commit | cdefce51f5952fc826816ac1a299e55869c2fa44 (patch) | |
tree | 21b020f1f4d369c569f188c26dd18d6a169cf35d /source/blender/python/intern/bpy_operator.c | |
parent | ae51e1c683358fffd8197538085efd7d161c09f9 (diff) |
update python api with changes from Joshua's commit r33917. translate reports into python errors.
Diffstat (limited to 'source/blender/python/intern/bpy_operator.c')
-rw-r--r-- | source/blender/python/intern/bpy_operator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_operator.c b/source/blender/python/intern/bpy_operator.c index ef7c1cc369a..de71d7d27a4 100644 --- a/source/blender/python/intern/bpy_operator.c +++ b/source/blender/python/intern/bpy_operator.c @@ -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 */ |