From 91e7da1890fdce3e23e373d98193e11692b9377f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 1 Aug 2024 00:49:18 +0300 Subject: [PATCH] Fix incorrect function call syntax in the Blender exporter --- blender/io_mspgl/material.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blender/io_mspgl/material.py b/blender/io_mspgl/material.py index df6192d0..a20d7718 100644 --- a/blender/io_mspgl/material.py +++ b/blender/io_mspgl/material.py @@ -348,7 +348,7 @@ class Material: color = self.create_property("color", "texture", (1.0, 1.0, 1.0, 1.0)) - color.set_from_input(material.node_tree, color_input, alpha_input) + color.set_from_input(material.node_tree, color_input, alpha_socket=alpha_input) if self.blend_type=='ADDITIVE' and alpha_input: self.blend_type = 'ADDITIVE_ALPHA' else: -- 2.45.2