diff options
author | Sergey Sharybin <sergey@blender.org> | 2021-01-27 16:20:31 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-01-27 16:20:31 +0300 |
commit | cd24712c2c51ab753369f7cae8c43c38115bd59f (patch) | |
tree | 34c10030e3da5d64a82e02061043d6ece10578d8 /source/blender/depsgraph/intern/depsgraph_tag.cc | |
parent | ea01c8c5f6ce5bf7df1af13795155f2dec473e0a (diff) |
Fix T84717: Missing viewport update after shading changes
Revert "Fix T83411: Crash when using a workspace/layout data path in a driver"
The fix for the crash exposed design violation in the viewport shading updates,
which is for some reason relying on dependency graph tag of interface data.
The viewport module did not respond to the issue in 2 weeks, and the architect
considered missing update for multiple users a more serious issue than a crash
in a very specific case.
This reverts commit 0f95f51361d73fbd8ba8d80b3b65da930dcf3b20.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_tag.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_tag.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cc b/source/blender/depsgraph/intern/depsgraph_tag.cc index c60ec4351bc..95ee8234ef3 100644 --- a/source/blender/depsgraph/intern/depsgraph_tag.cc +++ b/source/blender/depsgraph/intern/depsgraph_tag.cc @@ -265,10 +265,6 @@ void depsgraph_update_editors_tag(Main *bmain, Depsgraph *graph, ID *id) void depsgraph_id_tag_copy_on_write(Depsgraph *graph, IDNode *id_node, eUpdateSource update_source) { ComponentNode *cow_comp = id_node->find_component(NodeType::COPY_ON_WRITE); - if (cow_comp == nullptr) { - BLI_assert(!deg_copy_on_write_is_needed(GS(id_node->id_orig->name))); - return; - } cow_comp->tag_update(graph, update_source); } |