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
This commit is contained in:
@@ -86,8 +86,8 @@ def rna2epy(target_path):
|
||||
|
||||
array_str = get_array_str(length)
|
||||
|
||||
if rna_prop.readonly: readonly_str = ' (readonly)'
|
||||
else: readonly_str = ''
|
||||
if rna_prop.editable: readonly_str = ''
|
||||
else: readonly_str = ' (readonly)'
|
||||
|
||||
if rna_prop_ptr: # Use the pointer type
|
||||
out.write('\t@ivar %s: %s\n' % (rna_prop_identifier, rna_desc))
|
||||
|
||||
Reference in New Issue
Block a user