Commit Graph

5 Commits

Author SHA1 Message Date
28429f297b blendfile: "fix" blocks' iteration over values, and add 'user_data' member to Blocks and DNAStruct objects.
Currently blendfile.py does not know how to handle embeded structs - this is solvable for later, but at least
do not raise exception about that when using values()/items() helpers of BlendFileBlock
(for now, return Ellipsis in those cases).

Also, added some user_data member to BlendFileBlock and DNAStruct classes, handy when you need to store
some own data for each of those, and want to avoid having your own list or dict for that.
2015-12-10 16:16:19 +01:00
7d7fede5b2 Support context manager for opening blend file 2015-06-09 03:08:18 +10:00
6b0735e402 blendfile: remove redundant struct use 2015-03-05 09:58:32 +11:00
98f67c5d7f test local replay of edits, needed for local cache 2015-01-28 20:29:29 +11:00
871600312c re-arrange modules, preparing for python-package-index 2014-12-19 11:33:05 +01:00