Blender Git Loki

Git Commits -> Revision 4a009b5

Revision 4a009b5 by Bastien Montagne (master)
September 15, 2021, 17:06 (GMT)
Fix broken WorkSpace use after recent refactor of append code.

Essentially, Workspace (and Screen) types were defined as not
localizable.

In previous code it happended to work by mere chance (code path taken in
`BKE_library_make_local` was conviniently skipping the call to
`BKE_lib_id_make_local` in that case, hence not checking for
`IDTYPE_FLAGS_NO_MAKELOCAL` flag of the localized ID type).

This is a total abuse of this IDType flag, for now removing it.

That specific case (IDtype appendable but nor linkable) requires its own
proper flag, this will be tackled in a later commit.

Issue introduced in rB3be5ce4aad5e.

Commit Details:

Full Hash: 4a009b54bc8ecac548c52cda590c2500787ebf2d
Parent Commit: 51f7d24
Lines Changed: +2, -2

2 Modified Paths:

/source/blender/blenkernel/intern/screen.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/workspace.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021