diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-03 12:05:36 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-09-03 12:06:41 +0300 |
commit | 65db18fc56c3f64fad02a3d02cb10b49b13adccc (patch) | |
tree | 2ac4ca78216592fa3b82ac0d82d21a74e2dca177 /source/blender/depsgraph/DEG_depsgraph.h | |
parent | abfb8b6963f4fcf02108e81f17b9de3fbef99dce (diff) |
Fix T68868: Assert in depsgraph debugging logs
Was happening when tagging for LEGACY_0 was used.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |