mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-26 09:38:37 -07:00
FIX: Command line slice error of filament printable
jira: none Change-Id: I89724d3934c5c1e5ef75d3e046e84600873516ec (cherry picked from commit 5f9093dc8e7a222857037016940c43e2ad227eaa)
This commit is contained in:
parent
2f1c7994bb
commit
f9f1828642
1 changed files with 1 additions and 1 deletions
|
|
@ -5491,7 +5491,7 @@ int CLI::run(int argc, char **argv)
|
|||
auto *filament_printable_status = dynamic_cast<const ConfigOptionInts *>(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") %
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue