mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 17:48:35 -07:00
FIX: config: fix the 3mf export invalid issue when using single filament
JIRA: no-jira Change-Id: I1faf1fd7ac2b3dfd99594856e3c84da12d805627 (cherry picked from commit 913bace1eb13f74eaea100897efeccd30a9253ed)
This commit is contained in:
parent
082c213dcf
commit
84fe6250b2
1 changed files with 4 additions and 0 deletions
|
|
@ -2274,6 +2274,10 @@ DynamicPrintConfig PresetBundle::full_fff_config(bool apply_extruder, std::vecto
|
|||
}
|
||||
|
||||
different_settings.emplace_back(different_filament_settings);
|
||||
|
||||
std::vector<int>& filament_self_indice = out.option<ConfigOptionInts>("filament_self_index", true)->values;
|
||||
int index_size = out.option<ConfigOptionStrings>("filament_extruder_variant")->size();
|
||||
filament_self_indice.resize(index_size, 1);
|
||||
} else {
|
||||
// Retrieve filament presets and build a single config object for them.
|
||||
// First collect the filament configurations based on the user selection of this->filament_presets.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue