mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 01:10:40 +08:00
Merge branch 'master' into tm_arrange_selection
This commit is contained in:
commit
6b8c72944d
@ -3983,7 +3983,7 @@ void GLCanvas3D::_render_overlays() const
|
|||||||
glsafe(::glPushMatrix());
|
glsafe(::glPushMatrix());
|
||||||
glsafe(::glLoadIdentity());
|
glsafe(::glLoadIdentity());
|
||||||
// ensure that the textures are renderered inside the frustrum
|
// ensure that the textures are renderered inside the frustrum
|
||||||
glsafe(::glTranslated(0.0, 0.0, -(m_camera.get_near_z() + 0.5)));
|
glsafe(::glTranslated(0.0, 0.0, -(m_camera.get_near_z() + 0.005)));
|
||||||
// ensure that the overlay fits the frustrum near z plane
|
// ensure that the overlay fits the frustrum near z plane
|
||||||
double gui_scale = m_camera.get_gui_scale();
|
double gui_scale = m_camera.get_gui_scale();
|
||||||
glsafe(::glScaled(gui_scale, gui_scale, 1.0));
|
glsafe(::glScaled(gui_scale, gui_scale, 1.0));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user