Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-06-19 16:11:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-19 16:11:40 +0400
commitf50714a64b9058d1887b429a74bd675baa00a9cc (patch)
tree66275d32a40bc1a849bde106c9c1b4e2b90cbc64 /release/scripts/modules/rna_info.py
parent0ecae611f993843140a347cd8c366cfe8fefe711 (diff)
minor edit to speed up api property name editing.
Diffstat (limited to 'release/scripts/modules/rna_info.py')
-rw-r--r--release/scripts/modules/rna_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py
index 9e106597a01..9c2a2688949 100644
--- a/release/scripts/modules/rna_info.py
+++ b/release/scripts/modules/rna_info.py
@@ -631,7 +631,7 @@ if __name__ == "__main__":
props = [(prop.identifier, prop) for prop in v.properties]
for prop_id, prop in sorted(props):
- data += "%s.%s: %s %s\n" % (struct_id_str, prop.identifier, prop.type, prop.description)
+ data += "%s.%s -> %s: %s%s %s\n" % (struct_id_str, prop.identifier, prop.identifier, prop.type, ", (read-only)" if prop.is_readonly else "", prop.description)
if bpy.app.background:
print(data)