mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
Yet another compilation fix on OSX.
This commit is contained in:
parent
5d96b02d6d
commit
6828d8ba24
3 changed files with 2 additions and 6 deletions
|
@ -154,11 +154,8 @@ bool PlaceholderParser::apply_config(const DynamicPrintConfig &rhs)
|
|||
|
||||
void PlaceholderParser::apply_only(const DynamicPrintConfig &rhs, const std::vector<std::string> &keys)
|
||||
{
|
||||
#ifdef _DEBUG
|
||||
const ConfigDef *def = rhs.def();
|
||||
#endif /* _DEBUG */
|
||||
for (const t_config_option_key &opt_key : keys) {
|
||||
assert(! placeholder_parser_ignore(def, opt_key));
|
||||
assert(! placeholder_parser_ignore(rhs.def(), opt_key));
|
||||
// Store a copy of the config option.
|
||||
// Convert FloatOrPercent values to floats first.
|
||||
//FIXME there are some ratio_over chains, which end with empty ratio_with.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue