Depsgraph: Remove unused property based update tags

Those are unused, and not clear whether we will ever support this.

Seems to be better having more like "component" tags, would be less magic
involved to guess what exactly is to be tagged.
This commit is contained in:
2017-12-04 12:34:25 +01:00
parent 0868a2b610
commit 6b72d87def
2 changed files with 0 additions and 32 deletions

View File

@@ -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);

View File

@@ -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<DEG::Depsgraph *>(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<DEG::Depsgraph *>(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)
{