From dcb1f68b89b3ef6919dceec07427300a56fe7154 Mon Sep 17 00:00:00 2001 From: manch1n Date: Fri, 21 Apr 2023 14:17:12 +0800 Subject: [PATCH] FIX: check conflict when only have mutilcolor obj and wipetower STUDIO-2789 Change-Id: Ic2cdd76416fc979b13f9c2fc9a29a5312b832caa (cherry picked from commit 47319cafa726983f66577209b2c58fd7ead304ee) --- src/libslic3r/GCode/ConflictChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/ConflictChecker.cpp b/src/libslic3r/GCode/ConflictChecker.cpp index dd3d00d75..482dd65a8 100644 --- a/src/libslic3r/GCode/ConflictChecker.cpp +++ b/src/libslic3r/GCode/ConflictChecker.cpp @@ -207,7 +207,7 @@ ConflictComputeOpt ConflictChecker::find_inter_of_lines(const LineWithIDs &lines ConflictResultOpt ConflictChecker::find_inter_of_lines_in_diff_objs(PrintObjectPtrs objs, std::optional wtdptr) // find the first intersection point of lines in different objects { - if (objs.size() <= 1) { return {}; } + if (objs.size() <= 1 && !wtdptr) { return {}; } LinesBucketQueue conflictQueue; if (wtdptr.has_value()) { // wipe tower at 0 by default auto wtpaths = wtdptr.value()->getFakeExtrusionPathsFromWipeTower();