mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 03:47:37 +08:00
Fixed colors of the path preview.
This commit is contained in:
parent
1770d031b4
commit
073d6d2d43
@ -838,7 +838,7 @@ void _3DScene::_load_print_object_toolpaths(
|
|||||||
tbb::parallel_for(
|
tbb::parallel_for(
|
||||||
tbb::blocked_range<size_t>(0, ctxt.layers.size(), grain_size),
|
tbb::blocked_range<size_t>(0, ctxt.layers.size(), grain_size),
|
||||||
[&ctxt, &new_volume](const tbb::blocked_range<size_t>& range) {
|
[&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) {
|
for (size_t i = 0; i < 3; ++ i) {
|
||||||
GLVolume &volume = *vols[i];
|
GLVolume &volume = *vols[i];
|
||||||
volume.bounding_box = ctxt.bbox;
|
volume.bounding_box = ctxt.bbox;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user