Corrected bounding box calculation in mpLayer
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user