Commit Graph

11 Commits

Author SHA1 Message Date
a19abf9ca7 use dict lookup for sdna index 2014-10-16 19:25:39 +02:00
6dce38f2ae remove DNACatalog class, this only stored a list 2014-10-16 19:02:57 +02:00
d4a164b09a merge DMAStruct and type list
Was very confusing to have data spread out
now DNAStruct contains all info for a given type.
2014-10-16 18:47:10 +02:00
d1c4c5379b Add method to refine types (needed for non ID blocks) 2014-10-16 18:21:46 +02:00
4987505ed5 Add BlendFileBlock.get_pointer helper function 2014-10-16 16:29:23 +02:00
f3fa2d9407 Fix error in last commit (file offsets were wrong) 2014-10-16 16:29:03 +02:00
ef5f4bb1eb Cleanup: simplify block path resolving
move into own function, use from field get/set
2014-10-16 16:28:01 +02:00
754c571210 use more logical layout for dna-fields
replace tuple with field struct
2014-10-16 16:28:01 +02:00
bedc16fb15 move field lookups into their own function 2014-10-16 16:28:00 +02:00
b82aa439fa raise an exception when get/setting a value that doesn't exist 2014-10-16 16:28:00 +02:00
96ee7bf19b move packing util into its own directory 2014-10-16 12:15:20 +02:00