mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user