From 64450cf937a26e267a6e7bb001b04971f3bfd35e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 11 Oct 2021 16:20:43 +0300 Subject: [PATCH] Fix export of the stub technique --- blender/io_mspgl/export_object.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blender/io_mspgl/export_object.py b/blender/io_mspgl/export_object.py index 32894f7e..6e91df8d 100644 --- a/blender/io_mspgl/export_object.py +++ b/blender/io_mspgl/export_object.py @@ -148,11 +148,11 @@ class ObjectExporter: return obj_res def export_stub_technique(self): - from .datafile import Resource, Statement + from .datafile import Resource, Statement, Token tech_res = Resource("stub.tech", "technique") pass_st = Statement("method", "") tech_res.statements.append(pass_st) mat_st = Statement("material") pass_st.sub.append(mat_st) - mat_st.sub.append(Statement("basic")) + mat_st.sub.append(Statement("type", Token("basic"))) return tech_res -- 2.45.2