Skip to content

Commit

Permalink
Allow enum values as output string in placeholders.
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Feb 2, 2024
1 parent 845c7da commit 0bef160
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libslic3r/PlaceholderParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -941,6 +941,7 @@ namespace client
case coString: output.set_s(static_cast<const ConfigOptionString*>(opt.opt)->value); break;
case coPercent: output.set_d(opt.opt->get_float()); break;
case coPoint: output.set_s(opt.opt->serialize()); break;
case coEnum: output.set_s(opt.opt->serialize()); break;
case coBool: output.set_b(opt.opt->get_bool()); break;
case coFloatOrPercent:
{
Expand Down

0 comments on commit 0bef160

Please sign in to comment.