Added apply() callthrough method to allow Slic3r::ConfigBase configs to be added to the local DynamicPrintConfig.

This commit is contained in:
Joseph Lenox 2018-07-15 10:18:20 -05:00
parent bdb2457a57
commit 846e46a130

View File

@ -113,7 +113,11 @@ public:
void apply(const config_ptr& other) { _config.apply(other->config()); }
void apply(const Slic3r::Config& other) { _config.apply(other.config()); }
/// Allow other configs to be applied to this one.
void apply(const Slic3r::ConfigBase& other) { _config.apply(other); }
/// Do not use; prefer static factory methods instead.
Config();
private: