From c038bc293348f0d9024cc9dbf8b5ae41483a9dcf Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Thu, 7 Feb 2019 09:59:57 +0100 Subject: [PATCH] Printbed model rendered with 50% transparency --- src/slic3r/GUI/3DScene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/3DScene.cpp b/src/slic3r/GUI/3DScene.cpp index 6b1df6ab3..595f6f6a8 100644 --- a/src/slic3r/GUI/3DScene.cpp +++ b/src/slic3r/GUI/3DScene.cpp @@ -2003,7 +2003,7 @@ bool GLBed::on_init_from_file(const std::string& filename, bool useVBOs) else m_volume.indexed_vertex_array.load_mesh_flat_shading(mesh); - float color[4] = { 0.235f, 0.235f, 0.235f, 1.0f }; + float color[4] = { 0.235f, 0.235f, 0.235f, 0.5f }; set_color(color, 4); m_volume.bounding_box = m_volume.indexed_vertex_array.bounding_box();