diff options
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 0b3e028cd06..b8ff49640b7 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -129,10 +129,10 @@ void DEG_free_node_types(void); * \{ */ /** Tag dependency graph for updates when visible scenes/layers changes. */ -void DEG_graph_tag_on_visible_update(Depsgraph *depsgraph, const bool do_time); +void DEG_graph_tag_on_visible_update(Depsgraph *depsgraph, bool do_time); /** Tag all dependency graphs for update when visible scenes/layers changes. */ -void DEG_tag_on_visible_update(struct Main *bmain, const bool do_time); +void DEG_tag_on_visible_update(struct Main *bmain, bool do_time); /** * \note Will return NULL if the flag is not known, allowing to gracefully handle situations @@ -173,7 +173,7 @@ void DEG_enable_editors_update(struct Depsgraph *depsgraph); void DEG_editors_update(struct Depsgraph *depsgraph, bool time); /** Clear recalc flags after editors or renderers have handled updates. */ -void DEG_ids_clear_recalc(Depsgraph *depsgraph, const bool backup); +void DEG_ids_clear_recalc(Depsgraph *depsgraph, bool backup); /** * Restore recalc flags, backed up by a previous call to #DEG_ids_clear_recalc. @@ -220,8 +220,7 @@ typedef struct DEGEditorUpdateContext { } DEGEditorUpdateContext; typedef void (*DEG_EditorUpdateIDCb)(const DEGEditorUpdateContext *update_ctx, struct ID *id); -typedef void (*DEG_EditorUpdateSceneCb)(const DEGEditorUpdateContext *update_ctx, - const bool updated); +typedef void (*DEG_EditorUpdateSceneCb)(const DEGEditorUpdateContext *update_ctx, bool updated); /** Set callbacks which are being called when depsgraph changes. */ void DEG_editors_set_update_cb(DEG_EditorUpdateIDCb id_func, DEG_EditorUpdateSceneCb scene_func); @@ -266,7 +265,7 @@ void DEG_debug_print_eval_subdata_index(struct Depsgraph *depsgraph, const char *subdata_comment, const char *subdata_name, const void *subdata_address, - const int subdata_index); + int subdata_index); void DEG_debug_print_eval_parent_typed(struct Depsgraph *depsgraph, const char *function_name, |