Corrected bounding box calculation in mpLayer

This commit is contained in:
Maciej Suminski 2016-08-11 14:41:36 +02:00
parent a83d4802f9
commit fd08f45bd2
1 changed files with 0 additions and 4 deletions

View File

@ -2411,10 +2411,6 @@ void mpFXYVector::SetData( const std::vector<double> &xs,const std::vector<doubl
if (*it<m_minY) m_minY=*it;
if (*it>m_maxY) m_maxY=*it;
}
m_minX-=0.5f;
m_minY-=0.5f;
m_maxX+=0.5f;
m_maxY+=0.5f;
}
else
{