mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-12 22:36:03 -06:00
ENH: config: remove unused assert
jira: no-jira Change-Id: I3e2bea9f2fd5483c3a0f492bf6a1e47274315d28 (cherry picked from commit 5ddf3ac86fe0b08c50ac25baea7f0c4a7475d2d2)
This commit is contained in:
parent
85c5641c40
commit
532224fa8b
1 changed files with 5 additions and 5 deletions
|
|
@ -8165,7 +8165,7 @@ int DynamicPrintConfig::update_values_from_multi_to_single(DynamicPrintConfig& s
|
|||
if (src_opt) {
|
||||
ConfigOptionStrings* opt = this->option<ConfigOptionStrings>(key, true);
|
||||
|
||||
assert(variant_count == opt->size());
|
||||
//assert(variant_count == opt->size());
|
||||
opt->values = src_opt->values;
|
||||
}
|
||||
break;
|
||||
|
|
@ -8176,7 +8176,7 @@ int DynamicPrintConfig::update_values_from_multi_to_single(DynamicPrintConfig& s
|
|||
if (src_opt) {
|
||||
ConfigOptionInts* opt = this->option<ConfigOptionInts>(key, true);
|
||||
|
||||
assert(variant_count == opt->size());
|
||||
//assert(variant_count == opt->size());
|
||||
opt->values = src_opt->values;
|
||||
}
|
||||
break;
|
||||
|
|
@ -8190,7 +8190,7 @@ int DynamicPrintConfig::update_values_from_multi_to_single(DynamicPrintConfig& s
|
|||
std::vector<double> old_values = opt->values;
|
||||
int old_count = old_values.size();
|
||||
|
||||
assert(variant_count == opt->size());
|
||||
//assert(variant_count == opt->size());
|
||||
opt->values = src_opt->values;
|
||||
|
||||
for (int i = 0; i < extruder_count; i++)
|
||||
|
|
@ -8211,7 +8211,7 @@ int DynamicPrintConfig::update_values_from_multi_to_single(DynamicPrintConfig& s
|
|||
std::vector<FloatOrPercent> old_values = opt->values;
|
||||
int old_count = old_values.size();
|
||||
|
||||
assert(variant_count == opt->size());
|
||||
//assert(variant_count == opt->size());
|
||||
opt->values = src_opt->values;
|
||||
|
||||
for (int i = 0; i < extruder_count; i++)
|
||||
|
|
@ -8229,7 +8229,7 @@ int DynamicPrintConfig::update_values_from_multi_to_single(DynamicPrintConfig& s
|
|||
if (src_opt) {
|
||||
ConfigOptionBools* opt = this->option<ConfigOptionBools>(key, true);
|
||||
|
||||
assert(variant_count == opt->size());
|
||||
//assert(variant_count == opt->size());
|
||||
opt->values = src_opt->values;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue