minor edit to speed up api property name editing.

This commit is contained in:
Campbell Barton 2010-06-19 12:11:40 +00:00
parent 0ecae611f9
commit f50714a64b

@ -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)