diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-03 18:49:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-06 11:24:23 +0300 |
commit | f867a560d9bdad066650f853f520302d76aac4fa (patch) | |
tree | 14c2a9083376279ca86ec5064893739f63cb501b /source/blender/blenkernel | |
parent | 58dc114615449b8fc13e3b05ec3c21390547f5c7 (diff) |
Depsgraph: Avoid non-requested allocation of depsgraph
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 6ae826a20b1..1e034a27e64 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -2464,8 +2464,5 @@ void BKE_scene_free_depsgraph_hash(Scene *scene) Depsgraph *BKE_scene_get_depsgraph(Scene *scene, SceneLayer *scene_layer) { (void) scene_layer; - if (scene->depsgraph_legacy == NULL) { - scene->depsgraph_legacy = DEG_graph_new(); - } return scene->depsgraph_legacy; } |