mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-10 03:22:25 +00:00
Printbed model rendered with 50% transparency
This commit is contained in:
1 parent
21a7fa6af2
commit
c038bc2933
1 file changed
+1
-1
@@ -2003,7 +2003,7 @@ bool GLBed::on_init_from_file(const std::string& filename, bool useVBOs)
|
|||||||
else
|
else
|
||||||
m_volume.indexed_vertex_array.load_mesh_flat_shading(mesh);
|
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);
|
set_color(color, 4);
|
||||||
|
|
||||||
m_volume.bounding_box = m_volume.indexed_vertex_array.bounding_box();
|
m_volume.bounding_box = m_volume.indexed_vertex_array.bounding_box();
|
||||||
|
|||||||
Reference in new issue
Block a user