Skip to content

Commit

Permalink
fix(folder): Add condition that checks if static is the only light path
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkelkp committed Dec 3, 2024
1 parent 4b4baf8 commit 4a3717f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion honeybee_radiance_folder/folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ def _update_dict(dict, key, value):
else:
# else added to three phase
_update_dict(three_phase_dict, elem, grid)
elif not exclude_static:
elif not exclude_static and len(light_path) == 1:
# static apertures
_update_dict(two_phase_dict, '__static_apertures__', grid)
if not light_paths:
Expand Down

0 comments on commit 4a3717f

Please sign in to comment.