Fix blendfile exception when refining types

This commit is contained in:
2014-12-05 15:48:07 +01:00
parent dbee95aa96
commit 06ac67772f

View File

@@ -184,8 +184,8 @@ class BlendFile:
self.structs[sdna_index_next].size):
raise RuntimeError("cant refine to smaller type (%s -> %s)" %
(self.file.structs[sdna_index_curr].dna_type_id.decode('ascii'),
self.file.structs[sdna_index_next].dna_type_id.decode('ascii')))
(self.structs[sdna_index_curr].dna_type_id.decode('ascii'),
self.structs[sdna_index_next].dna_type_id.decode('ascii')))
@staticmethod
def decode_structs(header, block, handle):