From 749d5c033c62a0cb082f7c9dbbe3e742f043d83e Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 19 Sep 2018 15:46:03 +0200 Subject: Depsgraph: Make visible update to operate on per-component level --- source/blender/depsgraph/intern/builder/deg_builder_nodes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes.h') diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h index 37000c958ce..74709f2b57f 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.h +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.h @@ -35,6 +35,8 @@ #include "DEG_depsgraph.h" +#include "intern/nodes/deg_node_id.h" + struct Base; struct bArmature; struct bAction; @@ -225,10 +227,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 + /* Mask of visible components from previous state of the * dependency graph. */ - bool is_directly_visible; + IDComponentsMask previously_visible_components_mask; }; protected: -- cgit v1.2.3