3D viewer: fix a minor cosmetic issue.
Fixes #10002 https://gitlab.com/kicad/code/kicad/issues/10002
This commit is contained in:
parent
68d66af5bf
commit
55777fca43
|
@ -518,7 +518,7 @@ void EDA_3D_CANVAS::DoRePaint()
|
|||
if( m_render_pivot )
|
||||
{
|
||||
const float scale = glm::min( m_camera.GetZoom(), 1.0f );
|
||||
render_pivot( curtime_delta_s, scale * scale );
|
||||
render_pivot( curtime_delta_s, scale );
|
||||
}
|
||||
|
||||
// "Swaps the double-buffer of this window, making the back-buffer the
|
||||
|
|
|
@ -102,7 +102,6 @@ void EDA_3D_CANVAS::render_pivot( float t , float aScale )
|
|||
glTranslatef( lookAtPos.x, lookAtPos.y, lookAtPos.z );
|
||||
|
||||
glScalef( aScale, aScale, aScale );
|
||||
|
||||
pivot_render_triangles( t * 0.5f );
|
||||
|
||||
t = t * 0.80f;
|
||||
|
|
Loading…
Reference in New Issue