Avoid any possibility of using scene from different main in CTX_data_scene_layer
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 11 Jul 2017 14:40:18 +0000 (16:40 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 11 Jul 2017 14:40:18 +0000 (16:40 +0200)
commit11ee5aa4f9b60ddb7597b65926c125d5536863ca
treec2032a789198bec3cbfaf3fc20e6e7d643661ba3
parentded2b30ebc81b604c76d65cd029da0876b819122
Avoid any possibility of using scene from different main in CTX_data_scene_layer

While these functions might be considered a temporary solution, please still be
very accurate about data ownership and where data is coming from.
source/blender/blenkernel/intern/context.c