Blender Git Commit Log

Git Commits -> Revision 6fde005

Revision 6fde005 by Bastien Montagne (master)
September 23, 2020, 09:07 (GMT)
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.

Commit Details:

Full Hash: 6fde0050c45af994d7f0de16622037bf28c938c8
Parent Commit: b93b75b
Lines Changed: +9, -0

1 Modified Path:

/source/blender/blenkernel/intern/lib_override.c (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021