[Bf-blender-cvs] [86761a2cd71] blender2.8: Depsgraph: Cleanup, remove unused function
Sergey Sharybin
noreply at git.blender.org
Wed Oct 25 13:45:13 CEST 2017
Commit: 86761a2cd7120fd3bcecf0906937183e1541a93e
Author: Sergey Sharybin
Date: Wed Oct 25 12:41:11 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB86761a2cd7120fd3bcecf0906937183e1541a93e
Depsgraph: Cleanup, remove unused function
===================================================================
M source/blender/depsgraph/DEG_depsgraph_build.h
M source/blender/depsgraph/intern/depsgraph_build.cc
===================================================================
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,
More information about the Bf-blender-cvs
mailing list