From 1e1cd6957c04f5d2783e3c076d0a9df5506fba31 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 7 Jul 2024 23:47:47 +0300 Subject: [PATCH] Fix a typo in the Blender exporter --- blender/io_mspgl/mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blender/io_mspgl/mesh.py b/blender/io_mspgl/mesh.py index 25167a3a..8ad77bda 100644 --- a/blender/io_mspgl/mesh.py +++ b/blender/io_mspgl/mesh.py @@ -231,7 +231,7 @@ class Mesh: # where they don't exist edge_map = {e.key: e for e in self.edges} for f in self.faces: - if len(f.vertices)>4 and not mesh.use.patches: + if len(f.vertices)>4 and not mesh.use_patches: raise ValueError("Unsupported face on mesh {}: N-gon".format(self.name)) f.vertices = [self.vertices[i] for i in f.vertices] -- 2.45.2