Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-03-23 14:34:35 +0300
committerbubnikv <bubnikv@gmail.com>2017-03-23 14:34:35 +0300
commit073d6d2d43db29e3b2c9aef348e6912592cce8ff (patch)
tree76dcd7e88103bea0b482bf4e9510aeb975342017
parent1770d031b4ce515edb1eb983fc67664cfbe37ac3 (diff)
Fixed colors of the path preview.
-rw-r--r--xs/src/slic3r/GUI/3DScene.cpp2
1 files changed, 1 insertions, 1 deletions
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<size_t>(0, ctxt.layers.size(), grain_size),
[&ctxt, &new_volume](const tbb::blocked_range<size_t>& 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;