feat: scene serialisation optimiwation

This commit is contained in:
Swann Martinez
2019-05-10 16:24:34 +02:00
parent 6d753bfa19
commit 40b9b02590

View File

@ -580,7 +580,9 @@ def dump(key):
data = dump_datablock(target, 4)
elif target_type == 'Scene':
data = dump_datablock_attibute(
target, ['name', 'collection', 'id', 'camera', 'grease_pencil'], 4)
target, ['name', 'collection', 'id', 'camera', 'grease_pencil'], 2)
dump_datablock_attibute(
target, ['collection'], 4, data)
# elif target_type == 'Armature':
# data = dump_datablock(target, 4)