diff --git a/source/blender/editors/render/render_shading.cc b/source/blender/editors/render/render_shading.cc index a778252b7b0..04e2b40f215 100644 --- a/source/blender/editors/render/render_shading.cc +++ b/source/blender/editors/render/render_shading.cc @@ -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,