f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Fix: apply first-load options using matched config group on initial r…

Open Emear opened this issue 3 months ago • 3 comments

Describe your changes

Fixed a bug where first-load options placed inside a match block in the configuration file (e.g., "no-render") were not applied on the very first launch. The startup path previously applied options using an empty input path ({""}), which skipped all match rules. The fix passes the actual CLI input files as initialPaths into UpdateOptions(...), ensuring that the correct matched group is applied on the first run. If no files are provided, the previous {""} behavior is preserved.

Issue ticket number and link if any

Fixes #2440, https://github.com/f3d-app/f3d/issues/2440

Checklist for finalizing the PR

  • [x] I have performed a self-review of my code
  • [ ] I have added tests for new features and bugfixes
  • [ ] I have added documentation for new features
  • [ ] If it is a modifying the libf3d API, I have updated bindings
  • [ ] If it is a modifying the .github/workflows/versions.json, I have updated timestamp

Continuous integration

\ci fast

Emear avatar Oct 02 '25 05:10 Emear

Hi @Emear , please comment on #2440 so I can assign it to you :)

mwestphal avatar Oct 02 '25 06:10 mwestphal

Need any help moving forward @Emear ?

mwestphal avatar Oct 15 '25 19:10 mwestphal

Need any help moving forward @Emear ?

mwestphal avatar Nov 01 '25 09:11 mwestphal