mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
black .
This commit is contained in:
@@ -80,7 +80,7 @@ class Raycast(bonsai.core.tool.Raycast):
|
||||
# Do not include objects too far from camera view
|
||||
if rv3d.view_perspective == "PERSP":
|
||||
threshold = 200
|
||||
min_distance = float('inf')
|
||||
min_distance = float("inf")
|
||||
closest_distance: float = None
|
||||
for point in bbox:
|
||||
distance = (view_location - point).length
|
||||
|
||||
Reference in New Issue
Block a user