diff options
author | Jacques Lucke <jacques@blender.org> | 2021-11-30 14:14:23 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-11-30 14:14:23 +0300 |
commit | b67dca9b7674bed797fd04fcec790d809ed8dfb8 (patch) | |
tree | ac601afe03189c83bb784c44099a2e40ac730cb5 /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | e1cb2a226cfc5e688254c2101c6e0c694ff122f0 (diff) |
Depsgraph: remove shading parameters component
This component served no purpose anymore. It was technical
dept from the early 2.80 days.
Differential Revision: https://developer.blender.org/D13422
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index dd96c5a3b2b..60c64e19bde 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -193,12 +193,7 @@ void depsgraph_tag_to_component_opcode(const ID *id, *component_type = NodeType::COPY_ON_WRITE; break; case ID_RECALC_SHADING: - if (id_type == ID_NT) { - *component_type = NodeType::SHADING_PARAMETERS; - } - else { - *component_type = NodeType::SHADING; - } + *component_type = NodeType::SHADING; break; case ID_RECALC_SELECT: depsgraph_select_tag_to_component_opcode(id, component_type, operation_code); |