diff options
Diffstat (limited to 'source/blender/python/epy_doc_gen.py')
-rw-r--r-- | source/blender/python/epy_doc_gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/epy_doc_gen.py b/source/blender/python/epy_doc_gen.py index 77b0c245dbd..9e0c6127a4c 100644 --- a/source/blender/python/epy_doc_gen.py +++ b/source/blender/python/epy_doc_gen.py @@ -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)) |