mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-31 07:58:43 +03:00
reset exclude_area
This commit is contained in:
@@ -629,8 +629,9 @@ void Tab::update_changed_ui()
|
||||
{
|
||||
auto check_bed_custom_options = [](std::vector<std::string>& keys) {
|
||||
size_t old_keys_size = keys.size();
|
||||
//B52
|
||||
keys.erase(std::remove_if(keys.begin(), keys.end(), [](const std::string& key) {
|
||||
return key == "bed_custom_texture" || key == "bed_custom_model"; }), keys.end());
|
||||
return key == "bed_custom_texture" || key == "bed_custom_model" || key == "bed_exclude_area"; }), keys.end());
|
||||
if (old_keys_size != keys.size() && std::find(keys.begin(), keys.end(), "bed_shape") == keys.end())
|
||||
keys.emplace_back("bed_shape");
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user