mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
remember last filament choice and ignore network plugin check for thirdpary printers
This commit is contained in:
parent
ec7a7ff1ff
commit
d65311858c
4 changed files with 6 additions and 6 deletions
|
@ -459,7 +459,6 @@ std::string AppConfig::load()
|
|||
for (auto iter = it.value().begin(); iter != it.value().end(); iter++) {
|
||||
if (iter.key() == "filaments") {
|
||||
// BBS: filament presets is now considered as project config instead of app config
|
||||
#if 0
|
||||
int idx = 0;
|
||||
for(auto& element: iter.value()) {
|
||||
if (idx == 0)
|
||||
|
@ -468,7 +467,6 @@ std::string AppConfig::load()
|
|||
m_storage[it.key()]["filament_" + std::to_string(idx)] = element;
|
||||
idx++;
|
||||
}
|
||||
#endif
|
||||
} else {
|
||||
m_storage[it.key()][iter.key()] = iter.value().get<std::string>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue