From: Mikko Rasa Date: Wed, 31 Jul 2024 21:49:18 +0000 (+0300) Subject: Fix incorrect function call syntax in the Blender exporter X-Git-Url: https://git.tdb.fi/?a=commitdiff_plain;h=91e7da1890fdce3e23e373d98193e11692b9377f;p=libs%2Fgl.git Fix incorrect function call syntax in the Blender exporter --- 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: