mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fix of #1745
This commit is contained in:
@@ -1445,7 +1445,7 @@ int ModelVolume::extruder_id() const
|
||||
int extruder_id = -1;
|
||||
if (this->is_model_part()) {
|
||||
const ConfigOption *opt = this->config.option("extruder");
|
||||
if (opt == nullptr)
|
||||
if ((opt == nullptr) || (opt->getInt() == 0))
|
||||
opt = this->object->config.option("extruder");
|
||||
extruder_id = (opt == nullptr) ? 0 : opt->getInt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user