Blender Git Loki

Git Commits -> Revision 52bbd01

Revision 52bbd01 by Bastien Montagne (temp-ui-tweaks)
September 22, 2021, 13:54 (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: 52bbd01895365a3eb4f8cbcbf17904ba583c17ae
Parent Commit: 7e87a69
Committed By: Pablo Vazquez
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