Skip to content

Commit

Permalink
Fix issue with non-convertible rooms
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-Morgan committed Nov 13, 2023
1 parent cf59e4f commit e2303dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions speckle_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ def set_filename(fileName):
print(f"Found {len(rooms)} rooms")
for room in rooms:
(converted, _) = display_value_to_native(room, f"FakeRoom{room.id}", get_scale_factor(room))
if not converted:
continue

#calculate bounds
minimum = Vector((+math.inf, +math.inf, +math.inf))
Expand Down

0 comments on commit e2303dc

Please sign in to comment.