mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 18:23:14 +08:00
FIX: Command line slice error of filament printable
jira: none Change-Id: I89724d3934c5c1e5ef75d3e046e84600873516ec
This commit is contained in:
parent
badb8dbf46
commit
5f9093dc8e
@ -5885,7 +5885,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…
x
Reference in New Issue
Block a user