Skip to content

Commit

Permalink
fix: fix up has_mod_* logic in fast menu single object predictions
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-hm committed May 23, 2022
1 parent 26e2e8c commit 3f27ee3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions interface/fast_menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ def draw_single_object_predictions(self, context):
has_mod_bool = False

for name in mod_names:
has_mod_pe = bool("— ND PE" in name)
has_mod_sol = bool("— ND SOL" in name)
has_mod_bool = bool("— ND Bool" in name)
has_mod_pe = has_mod_pe or bool("— ND PE" in name)
has_mod_sol = has_mod_sol or bool("— ND SOL" in name)
has_mod_bool = has_mod_bool or bool("— ND Bool" in name)

was_profile_extrude = has_mod_pe and not has_mod_sol

Expand Down

0 comments on commit 3f27ee3

Please sign in to comment.