diff options
author | Bastien Montagne <bastien@blender.org> | 2020-11-10 19:12:36 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-11-10 19:16:28 +0300 |
commit | 339f442a9327d6eeb1bc7a52be702ea9b461df72 (patch) | |
tree | 180b6e4bdaea37d6fbaf1d6b7949fdd3c098114b /intern | |
parent | 626a79204ee2a9023cca1f7b9dfd88aa8d25cfc6 (diff) |
Fix (unreported) potential assert in viewlayer synchronization.
Some operations, like remapping and ID (Object) to another, can lead to
having the same object in more than one base.
While this is not a valid state, this is being taken care of by the
`BKE_layer_collection_sync` call, so the object-to-base GHash generation
itself should be resilient to such issue.
Note: another way to fix this would be to make remapping post-process
code check explicitely for such doublons, but I would rather avoid
adding even more 'specialized' code there, it already has to deal with
too many of those corner cases.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions