Skip to content

fix: custom body plans not imported correctly#2784

Merged
mjeffw merged 1 commit into
mainfrom
bugfix/1832
Jul 15, 2026
Merged

fix: custom body plans not imported correctly#2784
mjeffw merged 1 commit into
mainfrom
bugfix/1832

Conversation

@rinickolous

Copy link
Copy Markdown
Collaborator

fixes #1832

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes incorrect handling of custom (non-dictionary) GCS body plans during import so that removed hit locations don’t get reintroduced and custom roll ranges (e.g., expanded Torso range) are preserved.

Changes:

  • Preserve GCS-provided calc.roll_range on imported hit locations when it’s not the default placeholder.
  • Avoid auto-creating “missing” default hit locations when the body plan table was not found by exact name (i.e., when the table was inferred/guessed).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mjeffw
mjeffw merged commit 11a1649 into main Jul 15, 2026
1 check passed
@mjeffw
mjeffw deleted the bugfix/1832 branch July 15, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GCS Body Plan not uploaded correctly

3 participants