From 9b4b46f1d05e070a8a06896885d45e4dd422dc9e Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sun, 15 Feb 2015 23:41:46 -0200 Subject: [PATCH] Arch: small fix in DAE importer --- src/Mod/Arch/importDAE.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Arch/importDAE.py b/src/Mod/Arch/importDAE.py index 78659dc1068d..30b123f478b6 100644 --- a/src/Mod/Arch/importDAE.py +++ b/src/Mod/Arch/importDAE.py @@ -97,6 +97,8 @@ def read(filename): tset = prim.triangles() elif hasattr(prim,"triangleset"): tset = prim.triangleset() + else: + tset = [] for tri in tset: face = [] for v in tri.vertices: