From 65db18fc56c3f64fad02a3d02cb10b49b13adccc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 3 Sep 2019 11:05:36 +0200 Subject: Fix T68868: Assert in depsgraph debugging logs Was happening when tagging for LEGACY_0 was used. --- source/blender/depsgraph/DEG_depsgraph.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/depsgraph/DEG_depsgraph.h') diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index fd12f90016b..7553eca9b64 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -108,6 +108,8 @@ void DEG_graph_on_visible_update(struct Main *bmain, Depsgraph *depsgraph, const /* Update all dependency graphs when visible scenes/layers changes. */ void DEG_on_visible_update(struct Main *bmain, const bool do_time); +/* NOTE: Will return NULL if the flag is not known, allowing to gracefully handle situations + * when recalc flag has been removed. */ const char *DEG_update_tag_as_string(IDRecalcFlag flag); void DEG_id_tag_update(struct ID *id, int flag); -- cgit v1.2.3