Depsgraph: Route visibility flags update to proper component

This commit is contained in:
Sergey Sharybin
2019-02-27 15:15:07 +01:00
parent ed90de08e3
commit 9eaa577b9b

View File

@@ -287,6 +287,12 @@ RNANodeIdentifier RNANodeQuery::construct_node_identifier(
node_identifier.type = NodeType::GEOMETRY;
return node_identifier;
}
else if (STREQ(prop_identifier, "hide_viewport") ||
STREQ(prop_identifier, "hide_render"))
{
node_identifier.type = NodeType::OBJECT_FROM_LAYER;
return node_identifier;
}
}
}
else if (ptr->type == &RNA_ShapeKey) {