Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-01-25 14:28:27 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-01-25 14:28:27 +0300
commite4de6e87e1bb91c072ac2bb800214de006942801 (patch)
tree9e0ed7b84b28d416b46f3f8c3e975e0314ff1580 /source/blender/depsgraph/intern/builder/deg_builder_relations.h
parent8ea09252c8261c7057a130763c7f44bd45c9f9d2 (diff)
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.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations.h')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.h2
1 files changed, 2 insertions, 0 deletions
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 <typename KeyFrom, typename KeyTo>
void add_relation(const KeyFrom& key_from,
const KeyTo& key_to,