diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 9349b189e7b..0837f147275 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -111,8 +111,6 @@ void DEG_on_visible_update(struct Main *bmain, const bool do_time); void DEG_graph_id_tag_update(struct Main *bmain, Depsgraph *graph, struct ID *id); -void DEG_graph_data_tag_update(Depsgraph *graph, const struct PointerRNA *ptr); -void DEG_graph_property_tag_update(Depsgraph *graph, const struct PointerRNA *ptr, const struct PropertyRNA *prop); /* Tag given ID for an update in all the dependency graphs. */ void DEG_id_tag_update(struct ID *id, short flag); diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index 3d63e570eb8..eafb091e53a 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -167,36 +167,6 @@ void DEG_graph_id_tag_update(Main *bmain, Depsgraph *graph, ID *id) } } -/* Tag nodes related to a specific piece of data */ -void DEG_graph_data_tag_update(Depsgraph *graph, const PointerRNA *ptr) -{ - DEG::Depsgraph *deg_graph = reinterpret_cast(graph); - DEG::DepsNode *node = deg_graph->find_node_from_pointer(ptr, NULL); - if (node != NULL) { - node->tag_update(deg_graph); - } - else { - printf("Missing node in %s\n", __func__); - BLI_assert(!"Shouldn't happens since it'll miss crucial update."); - } -} - -/* Tag nodes related to a specific property. */ -void DEG_graph_property_tag_update(Depsgraph *graph, - const PointerRNA *ptr, - const PropertyRNA *prop) -{ - DEG::Depsgraph *deg_graph = reinterpret_cast(graph); - DEG::DepsNode *node = deg_graph->find_node_from_pointer(ptr, prop); - if (node != NULL) { - node->tag_update(deg_graph); - } - else { - printf("Missing node in %s\n", __func__); - BLI_assert(!"Shouldn't happens since it'll miss crucial update."); - } -} - /* Tag given ID for an update in all the dependency graphs. */ void DEG_id_tag_update(ID *id, short flag) {