Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph.h
| Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
| /* Register all node types */ | /* Register all node types */ | ||||
| void DEG_register_node_types(void); | void DEG_register_node_types(void); | ||||
| /* Free node type registry on exit */ | /* Free node type registry on exit */ | ||||
| void DEG_free_node_types(void); | void DEG_free_node_types(void); | ||||
| /* Update Tagging -------------------------------- */ | /* Update Tagging -------------------------------- */ | ||||
| /* Update dependency graph when visible scenes/layers changes. */ | /* Tag dependency graph for updates when visible scenes/layers changes. */ | ||||
| void DEG_graph_on_visible_update(struct Main *bmain, Depsgraph *depsgraph, const bool do_time); | void DEG_graph_tag_on_visible_update(Depsgraph *depsgraph, const bool do_time); | ||||
| /* Update all dependency graphs when visible scenes/layers changes. */ | /* Tag all dependency graphs for update when visible scenes/layers changes. */ | ||||
| void DEG_on_visible_update(struct Main *bmain, const bool do_time); | void DEG_tag_on_visible_update(struct Main *bmain, const bool do_time); | ||||
JacquesLucke: The `do_time` input is actually always false, so it probably could be removed (or can become a… | |||||
| /* NOTE: Will return NULL if the flag is not known, allowing to gracefully handle situations | /* NOTE: Will return NULL if the flag is not known, allowing to gracefully handle situations | ||||
| * when recalc flag has been removed. */ | * when recalc flag has been removed. */ | ||||
| const char *DEG_update_tag_as_string(IDRecalcFlag flag); | const char *DEG_update_tag_as_string(IDRecalcFlag flag); | ||||
| void DEG_id_tag_update(struct ID *id, int flag); | void DEG_id_tag_update(struct ID *id, int flag); | ||||
| void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag); | void DEG_id_tag_update_ex(struct Main *bmain, struct ID *id, int flag); | ||||
| ▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines | |||||
The do_time input is actually always false, so it probably could be removed (or can become a separate tag function). Anyway, that doesn't matter too much now.