diff --git a/src/Mod/Arch/importDAE.py b/src/Mod/Arch/importDAE.py index 78659dc10..30b123f47 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: