Fix failure to paste material color alpha & paste line-art
Error in [0] excluded these members from pasting.
[0]: 5177e2f20b
This commit is contained in:
@@ -2802,7 +2802,7 @@ static int paste_material_nodetree_ids_decref(LibraryIDLinkCallbackData *cb_data
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-map ID's from the clipboard to ID's in `main`, by name.
|
||||
* Re-map ID's from the clipboard to ID's in `bmain`, by name.
|
||||
*/
|
||||
static int paste_material_nodetree_ids_relink_or_clear(LibraryIDLinkCallbackData *cb_data)
|
||||
{
|
||||
@@ -2934,7 +2934,6 @@ static int paste_material_exec(bContext *C, wmOperator *op)
|
||||
SWAP_MEMBER(line_col);
|
||||
SWAP_MEMBER(line_priority);
|
||||
SWAP_MEMBER(vcol_alpha);
|
||||
SWAP_MEMBER(vcol_alpha);
|
||||
|
||||
SWAP_MEMBER(alpha_threshold);
|
||||
SWAP_MEMBER(refract_depth);
|
||||
@@ -2942,6 +2941,8 @@ static int paste_material_exec(bContext *C, wmOperator *op)
|
||||
SWAP_MEMBER(blend_shadow);
|
||||
SWAP_MEMBER(blend_flag);
|
||||
|
||||
SWAP_MEMBER(lineart);
|
||||
|
||||
#undef SWAP_MEMBER
|
||||
|
||||
/* The node-tree from the clipboard is now assigned to the local material,
|
||||
|
||||
Reference in New Issue
Block a user