Blender Git Commit Log

Git Commits -> Revision 6212b73

Revision 6212b73 by Sergey Sharybin (master)
September 1, 2014, 12:05 (GMT)
Cycles: Rebuild BVH from scratch if loading cache failed

Before this Cycles used to try using the cache even so it knew for the
fact that reading it from the disk failed. This change doesn't make it
more stable if someone will try to trick Cycles and give malformed data
but it solves general cases when Blender crashed during the cache write
and will preserve rendering from crashing when trying to use that partial
cache.

Commit Details:

Full Hash: 6212b7302cce8f6e2b5f9a0297b9595cf2ad69a8
Parent Commit: e8f3fa9
Lines Changed: +53, -25

2 Modified Paths:

/intern/cycles/bvh/bvh.cpp (+24, -12) (Diff)
/intern/cycles/util/util_cache.h (+29, -13) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021