mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Fix mm rendering
This commit is contained in:
parent
511bfa71b6
commit
e211e7d144
3 changed files with 14 additions and 10 deletions
|
@ -7203,7 +7203,9 @@ void GLCanvas3D::_render_volumes_for_picking() const
|
|||
const Camera& camera = wxGetApp().plater()->get_camera();
|
||||
shader->set_uniform("view_model_matrix", camera.get_view_matrix() * volume.first->world_matrix());
|
||||
shader->set_uniform("projection_matrix", camera.get_projection_matrix());
|
||||
volume.first->picking = true;
|
||||
volume.first->render();
|
||||
volume.first->picking = false;
|
||||
shader->stop_using();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue