Blender Git Loki

Git Commits -> Revision e97653c

Revision e97653c by Bastien Montagne (master)
September 16, 2021, 12:30 (GMT)
Fix: properly implement the 'only append' execption case for WorkSpaces.

Add needed extra flag and utils to IDType to mark and check an ID type
as only appendable.

Note that this is only a loose user-level enforcement currently, in any
case you need to be able to link an ID to append it currently, so for
low-level code this does not really matter.

Currently only WorkSpace and Screen ID types are marked with the new
`IDTYPE_FLAGS_ONLY_APPEND` flag.

Commit Details:

Full Hash: e97653ccf3356c57100606f0a0a175dbf4676df7
Parent Commit: 3deb564
Lines Changed: +30, -8

5 Modified Paths:

/source/blender/blenkernel/BKE_idtype.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/idtype.c (+21, -3) (Diff)
/source/blender/blenkernel/intern/screen.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/workspace.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+2, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021