Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-12-31 08:40:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-31 08:40:30 +0300
commitcdefce51f5952fc826816ac1a299e55869c2fa44 (patch)
tree21b020f1f4d369c569f188c26dd18d6a169cf35d /source/blender/python/intern/bpy_operator.c
parentae51e1c683358fffd8197538085efd7d161c09f9 (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.c2
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 */