From e4de6e87e1bb91c072ac2bb800214de006942801 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 25 Jan 2017 12:28:27 +0100 Subject: Depsgraph: Do ID tag outside of build_scene Otherwise it was possible to get ID tags cleared in the middle of DEG construction when there are set scenes used. --- source/blender/depsgraph/intern/builder/deg_builder_relations.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations.h') diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.h b/source/blender/depsgraph/intern/builder/deg_builder_relations.h index 6e8485bee30..7595a4488b9 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.h @@ -171,6 +171,8 @@ struct DepsgraphRelationBuilder { DepsgraphRelationBuilder(Depsgraph *graph); + void begin_build(Main *bmain); + template void add_relation(const KeyFrom& key_from, const KeyTo& key_to, -- cgit v1.2.3