mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: the nozzle type sync status is incorrect for P/A printers
jira: STUDIO-12310 Change-Id: I7a01bcfdfda45de4c2eb65b30e11e107779d3ecb (cherry picked from commit 4a15a6da6c10383cc6a9c5ac47ce61c4acbc60ae)
This commit is contained in:
@@ -1385,8 +1385,11 @@ void Sidebar::priv::update_sync_status(const MachineObject *obj)
|
||||
}
|
||||
};
|
||||
|
||||
auto is_same_nozzle_info = [](const ExtruderInfo &left, const ExtruderInfo &right) {
|
||||
return abs(left.diameter - right.diameter) < EPSILON /*&& left.nozzle_volue_type == right.nozzle_volue_type*/;
|
||||
auto is_same_nozzle_info = [obj](const ExtruderInfo &left, const ExtruderInfo &right) {
|
||||
bool is_same_nozzle_type = true;
|
||||
if (obj->is_nozzle_flow_type_supported())
|
||||
is_same_nozzle_type = true;//left.nozzle_volue_type == right.nozzle_volue_type; // TODO: Orca hack
|
||||
return abs(left.diameter - right.diameter) < EPSILON && is_same_nozzle_type;
|
||||
};
|
||||
|
||||
// 2. update extruder status
|
||||
|
||||
Reference in New Issue
Block a user