Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-05-24 11:58:09 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-05-24 11:58:09 +0300
commitba58b9d2af5bb49ea9a3511fae18ba4d5780105b (patch)
treee6112b503dea9e8f343a66cfa7dd1c2236d18890 /source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc
parentdb8aa7b851207294ffc943dc201e4f2955ed01dd (diff)
Depsgraph: Fixes for render pipeline building
- Need to assign current scene in the builder: it is used to route relations for object's customdata. - Tweak relation from scene to object for the customdaat: this didn't work before because the render pipeline scene has no view layer component. Fixes T65044: Crash when Rendering (F12)
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc
index beada644f71..26bb1bd3d2a 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_scene.cc
@@ -29,6 +29,7 @@ namespace DEG {
void DepsgraphRelationBuilder::build_scene_render(Scene *scene)
{
+ scene_ = scene;
const bool build_compositor = (scene->r.scemode & R_DOCOMP);
build_scene_parameters(scene);
if (build_compositor) {