Corrected bounding box calculation in mpLayer
This commit is contained in:
parent
a83d4802f9
commit
fd08f45bd2
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue