Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2021-01-27 16:20:31 +0300
committerSergey Sharybin <sergey@blender.org>2021-01-27 16:20:31 +0300
commitcd24712c2c51ab753369f7cae8c43c38115bd59f (patch)
tree34c10030e3da5d64a82e02061043d6ece10578d8 /source/blender/depsgraph/intern/depsgraph.cc
parentea01c8c5f6ce5bf7df1af13795155f2dec473e0a (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.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph.cc b/source/blender/depsgraph/intern/depsgraph.cc
index 3d30e7e79b9..17eeba55a27 100644
--- a/source/blender/depsgraph/intern/depsgraph.cc
+++ b/source/blender/depsgraph/intern/depsgraph.cc
@@ -142,14 +142,6 @@ static void clear_id_nodes_conditional(Depsgraph::IDDepsNodes *id_nodes, const F
* datablock for her own dirty needs. */
continue;
}
- if (id_node->id_cow == id_node->id_orig) {
- /* Copy-on-write version is not needed for this ID type.
- *
- * NOTE: Is important to not de-reference the original datablock here because it might be
- * freed already (happens during main database free when some IDs are freed prior to a
- * scene). */
- continue;
- }
if (!deg_copy_on_write_is_expanded(id_node->id_cow)) {
continue;
}