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>2018-09-03 16:22:02 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-03 16:36:20 +0300
commit25803994986f6825842b17446f890f6f70348f06 (patch)
treeadebe2e52b7e0e9c616c66742ea05441a91d69e0 /source/blender/depsgraph/intern/builder/deg_builder_nodes.h
parent30a2ad8efedb8513098682a860ebb8b1a54a1eca (diff)
Fix T56593: Crash when enabling collection with curves
Was missing update of ID blocks which are becoming visible.
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes.h')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_nodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h
index b35e07cc333..fcceec99b06 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h
@@ -221,6 +221,10 @@ struct DepsgraphNodeBuilder {
struct IDInfo {
/* Copy-on-written pointer of the corresponding ID. */
ID *id_cow;
+ /* State of the is_visible from ID node from previous state of the
+ * dependency graph.
+ */
+ bool is_visible;
};
protected: