From f9f1828642c4cd9a577103da7d7ff655dffc0452 Mon Sep 17 00:00:00 2001 From: "zhimin.zeng" Date: Fri, 9 May 2025 10:58:43 +0800 Subject: [PATCH] FIX: Command line slice error of filament printable jira: none Change-Id: I89724d3934c5c1e5ef75d3e046e84600873516ec (cherry picked from commit 5f9093dc8e7a222857037016940c43e2ad227eaa) --- src/OrcaSlicer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrcaSlicer.cpp b/src/OrcaSlicer.cpp index 12732fb323..98d679724b 100644 --- a/src/OrcaSlicer.cpp +++ b/src/OrcaSlicer.cpp @@ -5491,7 +5491,7 @@ int CLI::run(int argc, char **argv) auto *filament_printable_status = dynamic_cast(m_print_config.option("filament_printable")); if (filament_printable_status) { int status = filament_printable_status->values.at(plate_filaments[f_index] - 1); - if (!(status >> filament_extruder & 1)) { + if (!(status >> (filament_extruder - 1) & 1)) { BOOST_LOG_TRIVIAL(error) << boost::format( "plate %1% : filament %2% can not be printed on extruder %3%, under manual mode for multi extruder printer") %