mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: wrong flush volume when select filament or sync filament
1.Correct the wrong logic for support filament check jira:STUDIO-13719 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Ia0d5dfa210a4335ea2a6a5f5a97ba69fd136c720 (cherry picked from commit 75c75f83679937b1fcd2ef120ac83cc9a67f125b)
This commit is contained in:
@@ -7303,7 +7303,7 @@ bool has_filaments(const std::vector<string>& model_filaments) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool is_support_filament(int extruder_id)
|
||||
bool is_support_filament(int extruder_id, bool strict_check)
|
||||
{
|
||||
auto &filament_presets = Slic3r::GUI::wxGetApp().preset_bundle->filament_presets;
|
||||
auto &filaments = Slic3r::GUI::wxGetApp().preset_bundle->filaments;
|
||||
@@ -7317,7 +7317,7 @@ bool is_support_filament(int extruder_id)
|
||||
|
||||
Slic3r::ConfigOptionBools *support_option = dynamic_cast<Slic3r::ConfigOptionBools *>(filament->config.option("filament_is_support"));
|
||||
|
||||
if (filament_type == "PETG" || filament_type == "PLA") {
|
||||
if(!strict_check &&(filament_type == "PETG" || filament_type == "PLA")) {
|
||||
std::vector<string> model_filaments;
|
||||
if (filament_type == "PETG")
|
||||
model_filaments.emplace_back("PLA");
|
||||
|
||||
Reference in New Issue
Block a user