Blender Git Commit Log

Git Commits -> Revision d82a73c

Revision d82a73c by Bastien Montagne (temp-ui-tweaks)
September 22, 2021, 13:54 (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: d82a73c67ae4a5933c17a2e65cee7b240a7be064
Parent Commit: 05b2ed8
Committed By: Pablo Vazquez
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021