diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 13:38:41 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 14:28:40 +0300 |
commit | db04cc0f00718b61e6973b8091a36b0294eb0d51 (patch) | |
tree | da8ebcd7c9b6436c7660ac2be0611b3b05f96cb5 /source/blender/blenkernel | |
parent | da78338da035a95b6eb5c5c52144ffa0e7bcb236 (diff) |
Depsgraph: Remove direct relations rebuild from set_background
We wouldn't really know which context we want there.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 7370bd8a47e..f0c727b33ac 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -1106,7 +1106,6 @@ BaseLegacy *BKE_scene_base_find(Scene *scene, Object *ob) */ void BKE_scene_set_background(Main *bmain, Scene *scene) { - Scene *sce; BaseLegacy *base; Object *ob; Group *group; @@ -1132,10 +1131,6 @@ void BKE_scene_set_background(Main *bmain, Scene *scene) } } - /* sort baselist for scene and sets */ - for (sce = scene; sce; sce = sce->set) - DEG_scene_relations_rebuild(bmain, sce); - /* copy layers and flags from bases to objects */ for (base = scene->base.first; base; base = base->next) { ob = base->object; |