mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-18 05:35:52 +08:00
Added apply() callthrough method to allow Slic3r::ConfigBase configs to be added to the local DynamicPrintConfig.
This commit is contained in:
parent
bdb2457a57
commit
846e46a130
@ -113,8 +113,12 @@ 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); }
|
||||
|
||||
Config();
|
||||
|
||||
/// Do not use; prefer static factory methods instead.
|
||||
Config();
|
||||
|
||||
private:
|
||||
std::regex _cli_pattern {"=(.+)$"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user