Fix part of T53080: all material previews re-rendering after undo.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 26 Jan 2018 06:54:09 +0000 (07:54 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 26 Jan 2018 07:41:19 +0000 (08:41 +0100)
commitc4a4d20d3ddc9e1791fca89f76f14b0ee94b827b
tree54ed1a0bc8f43a177ad258f086566bd59f8061df
parent848f0c5b5b3ca4d747e00a66182c3d0edd8cc99b
Fix part of T53080: all material previews re-rendering after undo.

This reverts commit dc2617130b2e1d7d2b9892fbd7c6e7b60caafb66, which disabled
writing of previews for undo. While this uses some memory, re-rendering all
previews is very expensive, especially if for example you have lots of materials
using high-res image textures.
source/blender/blenloader/intern/writefile.c