mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-10-05 06:46:33 +08:00
Add passthroughs for Slic3r::ConfigBase::has and diff
This commit is contained in:
parent
cbc86b1d71
commit
a9bd65a4e9
@ -127,6 +127,12 @@ public:
|
|||||||
/// Allow other configs to be applied to this one.
|
/// Allow other configs to be applied to this one.
|
||||||
void apply(const Slic3r::ConfigBase& other) { _config.apply(other); }
|
void apply(const Slic3r::ConfigBase& other) { _config.apply(other); }
|
||||||
|
|
||||||
|
/// Pass-through of diff()
|
||||||
|
t_config_option_keys diff(const config_ptr& other) { return _config.diff(other->config()); };
|
||||||
|
t_config_option_keys diff(const Slic3r::Config& other) { return _config.diff(other.config()); }
|
||||||
|
|
||||||
|
/// Return whether or not the underlying ConfigBase contains a key k
|
||||||
|
bool has(const t_config_option_key& k) const { return _config.has(k); };
|
||||||
|
|
||||||
/// Do not use; prefer static factory methods instead.
|
/// Do not use; prefer static factory methods instead.
|
||||||
Config();
|
Config();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user