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>2021-03-12 18:45:45 +0300
committerBastien Montagne <bastien@blender.org>2021-03-12 18:45:45 +0300
commitf707783d5f9fedbe2503d841bc8a74bed6092cdb (patch)
tree083029c8e6f97e0a308bf95e0d25882dbe2185e1 /source/blender/blenkernel/intern
parentef5782e297449e00e5c82e025552ddfa5cd223b2 (diff)
LibOverride Auto Resync: Add option to disable it in Experimental userpref.
Some older .blend files won't react nicely to auto-resync, they need to get manually fixed with `resync enforce` first.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/blendfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/blendfile.c b/source/blender/blenkernel/intern/blendfile.c
index d3dfe60c444..967eb81026c 100644
--- a/source/blender/blenkernel/intern/blendfile.c
+++ b/source/blender/blenkernel/intern/blendfile.c
@@ -395,7 +395,7 @@ static void setup_app_data(bContext *C,
BKE_main_id_refcount_recompute(bmain, false);
}
- if (mode != LOAD_UNDO) {
+ if (mode != LOAD_UNDO && !USER_EXPERIMENTAL_TEST(&U, no_override_auto_resync)) {
BKE_lib_override_library_main_resync(
bmain,
curscene,