Depsgraph: immediately free object's derived caches in the COW step.
authorAlexander Gavrilov <angavrilov@gmail.com>
Mon, 3 Dec 2018 17:48:36 +0000 (20:48 +0300)
committerAlexander Gavrilov <angavrilov@gmail.com>
Mon, 3 Dec 2018 17:48:47 +0000 (20:48 +0300)
commit9637a1785694eb83bdfe2b0fe6c55c962137881b
tree1f700ed65f28702bb47c85b98818cb35bd0321e4
parent4b8b3692188bcbc71d2af7eccd891d679cfeab83
Depsgraph: immediately free object's derived caches in the COW step.

After update of the mesh some of that data is so broken that using
it would crash. To reduce the risk of crashes in case of dependency
cycles, clean it up immediately.
source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc