mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
Revert "Fix Compile Warnings (#5963)"
This reverts commit b83e16dbdd
.
Found regressions like auto orientation didn't work anymore after this change, revert it
This commit is contained in:
parent
0286c36f42
commit
7082e945b1
184 changed files with 1091 additions and 461 deletions
|
@ -108,6 +108,7 @@ bool ObjectTableSettings::update_settings_list(bool is_object, bool is_multiple_
|
|||
//SettingsFactory::Bundle cat_options = SettingsFactory::get_bundle(&config->get(), is_object);
|
||||
std::map<std::string, std::vector<SimpleSettingData>> cat_options;
|
||||
std::vector<SimpleSettingData> category_settings = SettingsFactory::get_visible_options(category, !is_object);
|
||||
bool display_multiple = false;
|
||||
auto is_option_modified = [this](std::string key) {
|
||||
ConfigOption* config_option1 = m_origin_config.option(key);
|
||||
ConfigOption* config_option2 = m_current_config.option(key);
|
||||
|
@ -146,6 +147,7 @@ bool ObjectTableSettings::update_settings_list(bool is_object, bool is_multiple_
|
|||
else
|
||||
it1 = cat_options.erase(it1);
|
||||
}
|
||||
display_multiple = true;
|
||||
}
|
||||
else {
|
||||
cat_options.emplace(category, category_settings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue