Blender Git Loki

Git Commits -> Revision 8a5a828

Revision 8a5a828 by Philipp Oeser (master)
July 15, 2019, 14:38 (GMT)
Fix T64827 (part two): "Batch-Generate Previews" fails with certain files

Some values (not properly handled by do_versions?) could cause
'rna_backup_restore()' to throw an error resulting in the whole preview
generation not being saved to the .blend file.

I've checked folowwing demo files:
- race_spaceship.blend
- wasp_bot.blend

Here the offending seetings were:
- `UnitSettings` (`length_unit`, ...)
- `FFmpegSettings` (`ffmpeg_preset`, ...)

For now, these are now excluded in `exclude_props`

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5255

Commit Details:

Full Hash: 8a5a8282ce48704e60e70cb02d747aede71e70b8
Parent Commit: 70d1932
Lines Changed: +1, -1

1 Modified Path:

/release/scripts/modules/bl_previews_utils/bl_previews_render.py (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021