From b2bd9c8316aaffbed1220f22a8fb0e96c988b51a Mon Sep 17 00:00:00 2001 From: William Herald Snyder Date: Tue, 4 Oct 2022 07:54:25 -0400 Subject: [PATCH] Blender 2.80-2.83 supports additive blending, so FillMaterialProps will catch that if present --- addons/io_scene_swbf_msh/msh_material_operators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/io_scene_swbf_msh/msh_material_operators.py b/addons/io_scene_swbf_msh/msh_material_operators.py index a4d3257..9634413 100644 --- a/addons/io_scene_swbf_msh/msh_material_operators.py +++ b/addons/io_scene_swbf_msh/msh_material_operators.py @@ -47,6 +47,7 @@ class FillSWBFMaterialProperties(bpy.types.Operator): mat.swbf_msh_mat.doublesided = not mat.use_backface_culling mat.swbf_msh_mat.hardedged_transparency = (mat.blend_method == "CLIP") mat.swbf_msh_mat.blended_transparency = (mat.blend_method == "BLEND") + mat.swbf_msh_mat.additive_transparency = (mat.blend_method == "ADDITIVE") # Below is all for filling the diffuse map/texture_0 fields