diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-01-02 10:54:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-01-02 10:54:38 +0300 |
commit | 5d23eaa8f462cdace80b8afc2b766068b4630243 (patch) | |
tree | a24348957a690523f007be7c36035de628f2b743 /source/blender/blenkernel/BKE_report.h | |
parent | cf43c6b0a1a125cf49207d382b6ae6157e0905b4 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/BKE_report.h')
-rw-r--r-- | source/blender/blenkernel/BKE_report.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_report.h b/source/blender/blenkernel/BKE_report.h index 8a5c623a225..21221026b8b 100644 --- a/source/blender/blenkernel/BKE_report.h +++ b/source/blender/blenkernel/BKE_report.h @@ -80,6 +80,7 @@ void BKE_report_print_level_set(ReportList *reports, ReportType level); ReportType BKE_report_store_level(ReportList *reports); void BKE_report_store_level_set(ReportList *reports, ReportType level); +char *BKE_reports_string(ReportList *reports, ReportType level); void BKE_reports_print(ReportList *reports, ReportType level); #ifdef __cplusplus |