Fix T61763: Crash on selecting "Background Scene"
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 5 Mar 2019 09:22:14 +0000 (10:22 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 5 Mar 2019 09:22:14 +0000 (10:22 +0100)
commitf5f0b97564cdb21c334ef736923905887111ddcf
treed57e41b0e01571e50d4a4b08a837857eea89df0e
parentcaacedd861fea49086d6ec531acbaf79a775c62b
Fix T61763: Crash on selecting "Background Scene"

Memory optimization in dependency graph was using wrong view layer
for the scene which came via set.
source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc
source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc