Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bonsai/bonsai/bim/module/model/decorator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ def get_combined_bounding_box_corners(objects):
def find_closest_trihedron(corners, edges, region, rv3d):

min_y = float("inf")
best_origin = None
best_origin = 0
for idx, corner in enumerate(corners):
screen_co = location_3d_to_region_2d(region, rv3d, corner)
if screen_co is not None and screen_co.y < min_y:
Expand Down
Loading