python support for reporting with operators.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 2 Jan 2009 07:54:38 +0000 (07:54 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 2 Jan 2009 07:54:38 +0000 (07:54 +0000)
commit5d23eaa8f462cdace80b8afc2b766068b4630243
treea24348957a690523f007be7c36035de628f2b743
parentcf43c6b0a1a125cf49207d382b6ae6157e0905b4
python support for reporting with operators.
* errors in python called operators are raised as errors
* Python defined operators errors are reported as errors (not full traceback yet)
* added BKE_reports_string, same as BKE_reports_print but it returns a string rather then printing it.
* WM_operator_name_call optionally takes an initialized report struct
12 files changed:
source/blender/blenkernel/BKE_report.h
source/blender/blenkernel/intern/report.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_regions.c
source/blender/editors/space_action/action_header.c
source/blender/editors/space_node/node_header.c
source/blender/editors/space_view3d/view3d_header.c
source/blender/python/epy_doc_gen.py
source/blender/python/intern/bpy_operator.c
source/blender/python/intern/bpy_opwrapper.c
source/blender/windowmanager/WM_api.h
source/blender/windowmanager/intern/wm_event_system.c