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>2017-10-24 16:32:30 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-24 17:04:11 +0300
commit86faf8ac844f8d227a4c4fada7d5eb28a93ee6a7 (patch)
tree0ab712910a5087155a865ef6875e112212dc063f /source/blender/depsgraph/intern/depsgraph_build.cc
parent97b2483a7a78253fcbd4dd5d114a1c7a8668c4ef (diff)
Depsgraph: Remove shortcut of freeing scene's depsgraph
It will not be possible to do that after depsgraph becomes more context oriented. Which means, all code will need to explicitly tell which graph to free,
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_build.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_build.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_build.cc b/source/blender/depsgraph/intern/depsgraph_build.cc
index 42ccd806dc8..87dcde045a6 100644
--- a/source/blender/depsgraph/intern/depsgraph_build.cc
+++ b/source/blender/depsgraph/intern/depsgraph_build.cc
@@ -304,14 +304,6 @@ void DEG_scene_relations_rebuild(Main *bmain, Scene *scene)
DEG_scene_relations_update(bmain, scene);
}
-void DEG_scene_graph_free(Scene *scene)
-{
- if (scene->depsgraph_legacy) {
- DEG_graph_free(scene->depsgraph_legacy);
- scene->depsgraph_legacy = NULL;
- }
-}
-
void DEG_add_collision_relations(DepsNodeHandle *handle,
Scene *scene,
Object *ob,