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