diff options
author | Bastien Montagne <bastien@blender.org> | 2020-11-13 16:16:01 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-11-13 16:21:27 +0300 |
commit | 7e210e68ba9f79642cde6ebe07691a7f3169bb9e (patch) | |
tree | 97673fa375f68e9b19109171ce8912db3eb880d5 /source/blender/blenkernel | |
parent | 59910f721721117108c45a6b961812beb3955625 (diff) |
LibOverride: Do not tag overrides for complete recalc.
This was done as some sort of safety, but should not actually be needed,
and including tags like `ID_RECALC_POINT_CACHE` e.g. makes usage of
point caches impossible with liboverrides (since it would systematically
invalidate all cache on file load).
In theory we should not have to tag anything here in fact, RNA accessors
are supposed to take care of it, but for now we keep the
`ID_RECALC_COPY_ON_WRITE` one.
Part of first step of T82503: support disk cache in liboverrides.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/lib_override.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/lib_override.c b/source/blender/blenkernel/intern/lib_override.c index 8825d71fc3c..e6f0e5e1199 100644 --- a/source/blender/blenkernel/intern/lib_override.c +++ b/source/blender/blenkernel/intern/lib_override.c @@ -1801,7 +1801,7 @@ void BKE_lib_override_library_update(Main *bmain, ID *local) /* Full rebuild of Depsgraph! */ /* Note: this is really brute force, in theory updates from RNA should have handled this already, * but for now let's play it safe. */ - DEG_id_tag_update_ex(bmain, local, ID_RECALC_ALL); + DEG_id_tag_update_ex(bmain, local, ID_RECALC_COPY_ON_WRITE); DEG_relations_tag_update(bmain); } |