Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanups to component database directories; more robust manufacturer search #2481

Merged
merged 6 commits into from May 12, 2024

Conversation

JoePfeiffer
Copy link
Contributor

@JoePfeiffer JoePfeiffer commented May 9, 2024

In addition to moving component directories around a little bit and getting rid of the obsolete presets directory, adds LOC/Precision to the Manufacturer list so it will always appear as "LOC/Precision" (instead of sometimes as "LOC Precision" depending on the order of database loading), and also uses the Manufacturer.matches() method instead of a string comparison to match a manufacturer name.

Fixes #2479

…ix of

the legacy components (which are also present in core/src/main/resources/datafiles/components-openrocket/) and obsolete versions of files from the database
…rnal and .../components/database respectively for better organization
…son no matter what order the parts databases are loaded.

Replace string equals with Manufacturer match method when searching for parts in the database
@JoePfeiffer JoePfeiffer merged commit 7a9bb43 into openrocket:unstable May 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant