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
3 changes: 2 additions & 1 deletion kibot/out_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,13 +758,14 @@ def apply_3D_variant_aspect(self, board, enable=False):
logger.debug(f" - Variant specific: {text}")
var = match.group(1)
slots = match.group(2).split(',') if match.group(2) else []

# Do the match
matched = self.variant.matches_variant(var)
if matched:
self.apply_list_of_3D_models(enable, slots, m, var)
break
if not matched and default is not None:
self.apply_list_of_3D_models(enable, slots, m, '_default_')
self.apply_list_of_3D_models(enable, default, m, '_default_')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this enough?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote "I think technically there can be even less" and explained why I prefer to keep the other changes as well.


def create_3D_highlight_file(self):
if self._highlight_3D_file:
Expand Down
Loading