diff options
Diffstat (limited to 'source/blender/depsgraph/intern/nodes/deg_node.cc')
-rw-r--r-- | source/blender/depsgraph/intern/nodes/deg_node.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/depsgraph/intern/nodes/deg_node.cc b/source/blender/depsgraph/intern/nodes/deg_node.cc index be4783e616f..218b32e92c8 100644 --- a/source/blender/depsgraph/intern/nodes/deg_node.cc +++ b/source/blender/depsgraph/intern/nodes/deg_node.cc @@ -189,14 +189,8 @@ void IDDepsNode::init(const ID *id, const char *UNUSED(subdata)) /* Store ID-pointer. */ BLI_assert(id != NULL); this->id = (ID *)id; - this->layers = (1 << 20) - 1; this->eval_flags = 0; - /* For object we initialize layers to layer from base. */ - if (GS(id->name) == ID_OB) { - this->layers = 0; - } - components = BLI_ghash_new(id_deps_node_hash_key, id_deps_node_hash_key_cmp, "Depsgraph id components hash"); |