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:
authorBastien Montagne <bastien@blender.org>2020-06-12 19:59:16 +0300
committerBastien Montagne <bastien@blender.org>2020-06-12 20:01:54 +0300
commitfd8d245e6a800cdce29065fe213a195ec9a98b63 (patch)
tree159feb841382b4fd56c1e179673632b880973189 /source/blender/depsgraph
parentb586f801fc921f9f420260fb3ff4f26cb6773157 (diff)
LibOverride: Remove 'auto override' option.
Now all overrides are handled that way. Performances of the process look decent enough, even with production characters... If performance issues still arise, we'll investigate other solutions. This should also make T73154 obsolete now.
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_flush.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
index ee543dcf25d..df6c139e916 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
@@ -251,8 +251,7 @@ void flush_editors_id_update(Depsgraph *graph, const DEGEditorUpdateContext *upd
if (graph->is_active && id_node->is_user_modified) {
deg_editors_id_update(update_ctx, id_orig);
}
- /* ID may need to get its auto-override operations refreshed. */
- if (ID_IS_OVERRIDE_LIBRARY_AUTO(id_orig)) {
+ if (ID_IS_OVERRIDE_LIBRARY(id_orig)) {
id_orig->tag |= LIB_TAG_OVERRIDE_LIBRARY_AUTOREFRESH;
}
/* Inform draw engines that something was changed. */