Revert "Fix T64827 (part two): "Batch-Generate Previews" fails with certain files"

This reverts commit 8a5a8282ce48704e60e70cb02d747aede71e70b8.
This commit is contained in:
Bastien Montagne 2019-07-15 18:25:25 +02:00
parent c42b7f8434
commit 125e0cfb25

@ -83,7 +83,7 @@ def do_previews(do_objects, do_collections, do_scenes, do_data_intern):
if engine == '__SCENE':
backup_scene, backup_world, backup_camera, backup_light, backup_camera_data, backup_light_data = [()] * 6
scene = bpy.context.window.scene
exclude_props = {('world',), ('camera',), ('tool_settings',), ('preview',), ('render','ffmpeg'), ('unit_settings',)}
exclude_props = {('world',), ('camera',), ('tool_settings',), ('preview',)}
backup_scene = tuple(rna_backup_gen(scene, exclude_props=exclude_props))
world = scene.world
camera = scene.camera