This commit is contained in:
Andrej730
2025-04-09 18:26:49 +05:00
parent 0eb70b7fc3
commit 3052c6e578
+1 -1
View File
@@ -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