diff options
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); |