mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 06:38:58 +08:00
SPE-2710: Seq printability test: fixed incorrect order when reporting colliding object names #14238
This commit is contained in:
parent
faa778d349
commit
c81935c32d
@ -294,7 +294,7 @@ std::optional<std::pair<int, int> > check_ScheduledObjectsForSequentialConflict(
|
||||
plate_polygons,
|
||||
plate_unreachable_polygons))
|
||||
{
|
||||
return std::pair<int, int>(objects_to_print[conflict.value().first].id, objects_to_print[conflict.value().second].id);
|
||||
return std::pair<int, int>(scheduled_plate.scheduled_objects[conflict.value().first].id, scheduled_plate.scheduled_objects[conflict.value().second].id);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
{
|
||||
@ -314,7 +314,7 @@ std::optional<std::pair<int, int> > check_ScheduledObjectsForSequentialConflict(
|
||||
plate_polygons,
|
||||
plate_unreachable_polygons))
|
||||
{
|
||||
return std::pair<int, int>(objects_to_print[conflict.value().first].id, objects_to_print[conflict.value().second].id);
|
||||
return std::pair<int, int>(scheduled_plate.scheduled_objects[conflict.value().first].id, scheduled_plate.scheduled_objects[conflict.value().second].id);
|
||||
}
|
||||
#ifdef DEBUG
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user