forked from bartvdbraak/blender
minor edit to speed up api property name editing.
This commit is contained in:
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)
|
||||
|
Loading…
Reference in New Issue
Block a user