diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-25 17:42:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-25 17:42:00 +0300 |
commit | 4c5a314fef8cb15f1a5990180cf5025597afdd01 (patch) | |
tree | 08a233baf408f585be287436aa7a2a76381c385b /source/blender/python | |
parent | 4f3c477a85aa9c395f21830ed18e89407e9275db (diff) |
update rna_info and rna_rna for better introspection
Diffstat (limited to 'source/blender/python')
-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 8783cec93ab..7e32b29aa1f 100644 --- a/source/blender/python/epy_doc_gen.py +++ b/source/blender/python/epy_doc_gen.py @@ -397,8 +397,8 @@ def rna2epy(BASEPATH): array_str = get_array_str(length) - if rna_prop.editable: readonly_str = '' - else: readonly_str = ' (readonly)' + if rna_prop.is_readonly: readonly_str = ' (readonly)' + else: readonly_str = '' if rna_prop_ptr: # Use the pointer type out.write(ident+ '\t@ivar %s: %s\n' % (rna_prop_identifier, rna_desc)) |