diff --git a/3d-viewer/3d_canvas/eda_3d_canvas.cpp b/3d-viewer/3d_canvas/eda_3d_canvas.cpp index b7d1f29302..fc7a48c71d 100644 --- a/3d-viewer/3d_canvas/eda_3d_canvas.cpp +++ b/3d-viewer/3d_canvas/eda_3d_canvas.cpp @@ -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 diff --git a/3d-viewer/3d_canvas/eda_3d_canvas_pivot.cpp b/3d-viewer/3d_canvas/eda_3d_canvas_pivot.cpp index 8a6e89679c..c14e3b0730 100644 --- a/3d-viewer/3d_canvas/eda_3d_canvas_pivot.cpp +++ b/3d-viewer/3d_canvas/eda_3d_canvas_pivot.cpp @@ -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;