Python API

made all libdata hashable - use the object type,name and lib for the hash.
added .tag to libdata so we can test if data's been processed without using dictionaries
added libdataseq.tag (write only) setting the tag flag (which can always be dirty)
This commit is contained in:
2007-03-26 02:10:24 +00:00
parent aba5557028
commit c97be098f7
26 changed files with 113 additions and 25 deletions

View File

@@ -188,6 +188,17 @@ class dataIterator:
>>> ipo_list = list(bpy.ipos)
@type tag: Bool
@ivar tag: A fast way to set the tag value of every member of the sequence to True or False
For example
>>> bpy.meshes.tag = True
Is the same as...
>>> for me in bpy.meshes: me.tag = True
@type active: Datablock or None
@ivar active: The active member of the datatype