Brush Assets: Add Material to linked editable assets
These are used to define grease pencil brushes. Not having these editable but the brush and images being editable leads to confusing UI. Fix #131186 Fix #134268 Pull Request: https://projects.blender.org/blender/blender/pulls/134226
This commit is contained in:
@@ -656,7 +656,8 @@ typedef struct PreviewImage {
|
||||
|
||||
#define ID_IS_LINKED(_id) (((const ID *)(_id))->lib != NULL)
|
||||
|
||||
#define ID_TYPE_SUPPORTS_ASSET_EDITABLE(id_type) ELEM(id_type, ID_BR, ID_TE, ID_NT, ID_IM, ID_PC)
|
||||
#define ID_TYPE_SUPPORTS_ASSET_EDITABLE(id_type) \
|
||||
ELEM(id_type, ID_BR, ID_TE, ID_NT, ID_IM, ID_PC, ID_MA)
|
||||
|
||||
#define ID_IS_EDITABLE(_id) \
|
||||
((((const ID *)(_id))->lib == NULL) || \
|
||||
|
||||
Reference in New Issue
Block a user