Skip to content

Commit

Permalink
Revert "Another fix to the preview shell (SoftFever#2821)"
Browse files Browse the repository at this point in the history
This reverts commit a6163a1.
  • Loading branch information
igiannakas committed Dec 5, 2023
1 parent 01c7249 commit c4623cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/GCodeViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4035,7 +4035,7 @@ void GCodeViewer::render_shells()
shader->start_using();
shader->set_uniform("emission_factor", 0.1f);
const Camera& camera = wxGetApp().plater()->get_camera();
m_shells.volumes.render(GLVolumeCollection::ERenderType::Transparent, false, camera.get_view_matrix(), camera.get_projection_matrix());
m_shells.volumes.render(GLVolumeCollection::ERenderType::Transparent, true, camera.get_view_matrix(), camera.get_projection_matrix());
shader->set_uniform("emission_factor", 0.0f);
shader->stop_using();

Expand Down

0 comments on commit c4623cc

Please sign in to comment.