foxeer m10q-250 model fix#2604
Conversation
Branch Targeting SuggestionYou've targeted the
If This is an automated suggestion to help route contributions to the appropriate branch. |
Review Summary by QodoFix Foxeer M10Q-250 model alignment and add GLB utilities
WalkthroughsDescription• Fixes Foxeer M10Q-250 magnetometer model alignment issue • Adds GLB roughness utility for material adjustment • Updates CI workflow to support manual trigger • Modifies 3D model file for correct alignment Diagramflowchart LR
A["Foxeer M10Q-250<br/>Model Issue"] -->|"Apply Fix"| B["Updated GLB Model"]
C["GLB Roughness<br/>Utility"] -->|"Patch Materials"| B
D["CI Workflow"] -->|"Add Manual Trigger"| E["Enhanced Pipeline"]
File Changes1. support/glb_set_roughtness_1.js
|
Code Review by Qodo
|
| @@ -0,0 +1,107 @@ | |||
| #!/usr/bin/env node | |||
There was a problem hiding this comment.
1. Bom breaks hashbang 🐞 Bug ☼ Reliability
support/glb_set_roughtness_1.js begins with a UTF-8 BOM before the shebang, which prevents direct execution (e.g., chmod +x && ./glb_set_roughtness_1.js) because the OS won’t recognize the interpreter directive.
Agent Prompt
### Issue description
The script has a UTF-8 BOM before the shebang, preventing direct execution via hashbang on Unix-like systems.
### Issue Context
The file currently starts with an invisible BOM character (U+FEFF) before `#!/usr/bin/env node`.
### Fix Focus Areas
- support/glb_set_roughtness_1.js[1-2]
### Suggested change
- Remove the BOM so the very first bytes of the file are `#!`.
- (Optional) Ensure the file ends with a newline.
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Removed workflow_dispatch trigger from CI configuration.
|



Fixes Alignment Tool - Foxeer M10Q-250 Magnetometer Model has wrong alignment #2400