diff options
author | Bastien Montagne <bastien@blender.org> | 2020-09-22 19:18:52 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-09-23 12:07:03 +0300 |
commit | 6fde0050c45af994d7f0de16622037bf28c938c8 (patch) | |
tree | 888e6d9a0f6956c0d2c3ad21b81288124c68acb2 /release | |
parent | b93b75b5fb716979f88abbc6aedc778c3509e2b5 (diff) |
Fix (unreported) LibOverride: RNA asserts when applying overrides.
Some RNA setters require ID data they operate on to be in G_MAIN.
Unfortunately, when we apply overrides as part of a .blend file reading,
new Main is not yet made global one, so we have to do it temporarily
here.
This is a fairly ugly hack, but it should be harmless and safe.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions