From d78f1335362f4c467ee2003d3c727169f788ce37 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 13 Feb 2021 18:45:25 +0200 Subject: [PATCH] Don't export plain values for texture-only material properties --- blender/io_mspgl/export_material.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blender/io_mspgl/export_material.py b/blender/io_mspgl/export_material.py index 5710e0ce..4ce892db 100644 --- a/blender/io_mspgl/export_material.py +++ b/blender/io_mspgl/export_material.py @@ -82,6 +82,8 @@ class MaterialExporter: return Statement(keyword+"_map", fn) else: return mat_res.create_reference_statement(keyword+"_map", tex_res) + elif tex_only: + return elif type(prop.value)==tuple: return Statement(keyword, *prop.value) else: -- 2.45.2