diff options
author | Bastien Montagne <bastien@blender.org> | 2021-04-08 12:27:05 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-04-08 12:45:55 +0300 |
commit | e92a7800b57620df0a5d7619aead572667f27994 (patch) | |
tree | 22023baab0e8a340958391069d09bec3e526eddc /source/blender/python | |
parent | c1b1ed4d5b2f90b48296055e817fded0f8ee8f38 (diff) |
LibOverride: Fix several issues with resync code.
This commit essentially touches to post-processing of collections and
objects after resync itself has been done, to ensure their proper
instantiation in the scene:
- Remove a lot of the process in resync case (resynced data are assumed
to be already instantiated in the scene, unlike override creation
case).
- For auto-resync, only do post-processing once after all overrides
have been resynced (doing it after each individual resynced was
causing a lot of instantiation glitches, with a lot of unwanted
extra objects and collections being added to the master collection).
It also deals in a much more reliable way with detection of objects
missing from the scene, by using the new `BKE_scene_objects_as_gset`
utils.
As a bonus this makes auto-resync process slightly faster (only by a few
percents, but that's always good to get).
Diffstat (limited to 'source/blender/python')
0 files changed, 0 insertions, 0 deletions