diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-08 12:27:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-08 17:02:19 +0300 |
commit | 5c66bbc56f08f13638a92a5e4702d138abc37ba7 (patch) | |
tree | 2493569b4df8ba46ea83d04ceaa60bbda0714123 | |
parent | 20988ed5dcec977c641a29f2cc948d4bdb6f86cd (diff) |
Depsgraph: Remove traces of old single-per-scene dependency graph
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 3 | ||||
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index dfa9227b679..ce2e4e62be1 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -238,7 +238,6 @@ void BKE_scene_copy_data(Main *bmain, Scene *sce_dst, const Scene *sce_src, cons const int flag_subdata = flag | LIB_ID_CREATE_NO_USER_REFCOUNT; sce_dst->ed = NULL; - sce_dst->depsgraph_legacy = NULL; sce_dst->depsgraph_hash = NULL; sce_dst->obedit = NULL; sce_dst->fps_info = NULL; @@ -2423,8 +2422,6 @@ void BKE_scene_ensure_depsgraph_hash(Scene *scene) void BKE_scene_free_depsgraph_hash(Scene *scene) { - /* TODO(sergey): Keep this for until we get rid of depsgraph_legacy. */ - DEG_graph_free(scene->depsgraph_legacy); if (scene->depsgraph_hash == NULL) { return; } diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index e6ab8fa883b..c88deeca126 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6106,7 +6106,6 @@ static void direct_link_scene(FileData *fd, Scene *sce, Main *bmain) SceneLayer *sl; SceneRenderLayer *srl; - sce->depsgraph_legacy = NULL; sce->depsgraph_hash = NULL; sce->obedit = NULL; sce->fps_info = NULL; diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 68599a10a3e..0c491af8eeb 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1654,9 +1654,7 @@ typedef struct Scene { void *fps_info; /* (runtime) info/cache used for presenting playback framerate info to the user */ /* none of the dependency graph vars is mean to be saved */ - struct Depsgraph *depsgraph_legacy; struct GHash *depsgraph_hash; - void *pad3; int pad7; /* User-Defined KeyingSets */ |