From 073d6d2d43db29e3b2c9aef348e6912592cce8ff Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 23 Mar 2017 12:34:35 +0100 Subject: [PATCH] Fixed colors of the path preview. --- xs/src/slic3r/GUI/3DScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/slic3r/GUI/3DScene.cpp b/xs/src/slic3r/GUI/3DScene.cpp index 6737092b5..ab12f7d07 100644 --- a/xs/src/slic3r/GUI/3DScene.cpp +++ b/xs/src/slic3r/GUI/3DScene.cpp @@ -838,7 +838,7 @@ void _3DScene::_load_print_object_toolpaths( tbb::parallel_for( tbb::blocked_range(0, ctxt.layers.size(), grain_size), [&ctxt, &new_volume](const tbb::blocked_range& range) { - GLVolume* vols[3] = { new_volume(ctxt.color_perimeters()), new_volume(ctxt.color_perimeters()), new_volume(ctxt.color_perimeters()) }; + GLVolume* vols[3] = { new_volume(ctxt.color_perimeters()), new_volume(ctxt.color_infill()), new_volume(ctxt.color_support()) }; for (size_t i = 0; i < 3; ++ i) { GLVolume &volume = *vols[i]; volume.bounding_box = ctxt.bbox;