Files
OrcaSlicer/tests/cli
packerlschupfer adea4e48a6 CLI: report configuration values that were substituted with defaults (#16305)
When a preset or a 3mf has an enum or bool value this build cannot parse, the config loader replaces it and records a substitution. The CLI only logged these at info level, which the default log level filters out. A preset with an invalid ironing_type therefore sliced with ironing off, printed nothing and exited 0.

Each substitution is now printed to stderr and added to result.json's warnings array with the class config_value_substituted. Exit codes are unchanged, and --strict does not escalate these warnings. test_cli_strict.sh has a new case for it.
2026-10-26 21:35:55 -05:00
..