diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 13:41:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 14:28:40 +0300 |
commit | 86761a2cd7120fd3bcecf0906937183e1541a93e (patch) | |
tree | 6d878642cdd5b61191a2449ab13d2fa943c0c377 /source/blender/depsgraph | |
parent | db04cc0f00718b61e6973b8091a36b0294eb0d51 (diff) |
Depsgraph: Cleanup, remove unused function
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_build.h | 3 | ||||
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_build.cc | 9 |
2 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_build.h b/source/blender/depsgraph/DEG_depsgraph_build.h index df82e962900..92d47618cd7 100644 --- a/source/blender/depsgraph/DEG_depsgraph_build.h +++ b/source/blender/depsgraph/DEG_depsgraph_build.h @@ -78,9 +78,6 @@ void DEG_relations_tag_update(struct Main *bmain); */ void DEG_scene_relations_update(struct Main *bmain, struct Scene *scene); -/* Rebuild dependency graph only for a given scene. */ -void DEG_scene_relations_rebuild(struct Main *bmain, struct Scene *scene); - /* Add Dependencies ----------------------------- */ /* Handle for components to define their dependencies from callbacks. diff --git a/source/blender/depsgraph/intern/depsgraph_build.cc b/source/blender/depsgraph/intern/depsgraph_build.cc index 05b5b73a735..a8a09b8317b 100644 --- a/source/blender/depsgraph/intern/depsgraph_build.cc +++ b/source/blender/depsgraph/intern/depsgraph_build.cc @@ -301,15 +301,6 @@ void DEG_scene_relations_update(Main *bmain, Scene *scene) DEG_graph_relations_update(scene->depsgraph_legacy, bmain, scene); } -/* Rebuild dependency graph only for a given scene. */ -void DEG_scene_relations_rebuild(Main *bmain, Scene *scene) -{ - if (scene->depsgraph_legacy != NULL) { - DEG_graph_tag_relations_update(scene->depsgraph_legacy); - } - DEG_scene_relations_update(bmain, scene); -} - void DEG_add_collision_relations(DepsNodeHandle *handle, Scene *scene, Object *ob, |