Skip to content
Snippets Groups Projects
Commit ae7ca7fa authored by Campbell Barton's avatar Campbell Barton
Browse files

fix for loading models saved in 'revit'

parent f10d8714
No related branches found
No related tags found
No related merge requests found
...@@ -647,7 +647,8 @@ def load(operator, context, filepath="", ...@@ -647,7 +647,8 @@ def load(operator, context, filepath="",
def _(): def _():
for fbx_obj in fbx_nodes.elems: 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_uuid = elem_uuid(fbx_obj)
fbx_table_nodes[fbx_uuid] = [fbx_obj, None] fbx_table_nodes[fbx_uuid] = [fbx_obj, None]
_(); del _ _(); del _
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment