Depsgraph: Cleanup, remove unused function

This commit is contained in:
Sergey Sharybin 2017-10-25 12:41:11 +02:00
parent db04cc0f00
commit 86761a2cd7
2 changed files with 0 additions and 12 deletions

View File

@ -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.

View File

@ -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,