mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
ENH: config: add some miss codes
previous commit 'ENH: config: add nill load/save logic for user config' jira: no-jira Change-Id: I91ab326e533d54846518d11b457db0b0afe4d499 (cherry picked from commit 4086ec60c2b14bfb8ab12aa97842d563f71739ab)
This commit is contained in:
@@ -541,6 +541,8 @@ public:
|
||||
if (inherits->size() != rhs->size())
|
||||
throw ConfigurationError("ConfigOptionVector::set_with_nil(): rhs size different with inherits size");
|
||||
|
||||
this->values.resize(inherits->size(), this->values.front());
|
||||
|
||||
for (size_t i = 0; i < inherits_opt->size(); i= i+stride) {
|
||||
bool set_nil = true;
|
||||
for (size_t j = 0; j < stride; j++) {
|
||||
|
||||
Reference in New Issue
Block a user