From fd08f45bd21421d88ff6648bfa3c2bae99722c4e Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Thu, 11 Aug 2016 14:41:36 +0200 Subject: [PATCH] Corrected bounding box calculation in mpLayer --- common/widgets/mathplot.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/common/widgets/mathplot.cpp b/common/widgets/mathplot.cpp index c8e3c6ad22..e0d3824cc1 100644 --- a/common/widgets/mathplot.cpp +++ b/common/widgets/mathplot.cpp @@ -2411,10 +2411,6 @@ void mpFXYVector::SetData( const std::vector &xs,const std::vectorm_maxY) m_maxY=*it; } - m_minX-=0.5f; - m_minY-=0.5f; - m_maxX+=0.5f; - m_maxY+=0.5f; } else {