From ae7ca7fa48671a2415d4c438b91eabcd330f2725 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Mon, 19 Aug 2013 13:21:36 +0000
Subject: [PATCH] fix for loading models saved in 'revit'

---
 io_scene_fbx/import_fbx.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index 0e05663d6..ed2a8c8bd 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -647,7 +647,8 @@ def load(operator, context, filepath="",
 
     def _():
         for fbx_obj in fbx_nodes.elems:
-            assert(fbx_obj.props_type == b'LSS')
+            # TODO, investigate what other items after first 3 may be
+            assert(fbx_obj.props_type[:3] == b'LSS')
             fbx_uuid = elem_uuid(fbx_obj)
             fbx_table_nodes[fbx_uuid] = [fbx_obj, None]
     _(); del _
-- 
GitLab