num0005 / Osoyoos-Launcher

A W.I.P launcher aiming to support all current and future versions & revisions of the Halo Editing Kit.
Other
64 stars 14 forks source link

Fixed broken H3 ALL model import option #48

Closed Pepper-Man closed 1 year ago

Pepper-Man commented 1 year ago

Noticed that using the "all" option for model imports in H3 has been broken since this commit (H3Toolkit.cs, line 181-244) by General, when he refactored the model import types section it failed to account for multiple options and would try passing all the separate tool commands as a single argument.

This is a fairly straightforward fix for this, I simply added a check for "all" being selected and then run each command one by one as it used to. I also slightly refactored the section into separate functions to avoid code repetition.

Pepper-Man commented 1 year ago

Yes, all works as expected when testing all the combinations of imports etc