mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
Bug fix for X11 zoom bug fix (zoom in enough and lines would disappear
from the screen when they shouldn't of). git-svn-id: http://svn.osgeo.org/qgis/trunk@3007 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
81c7a7de03
commit
2dee56a136
@ -268,7 +268,8 @@ bool QgsMapToPixel::trimLine(const QgsPoint& from, const QgsPoint& to,
|
||||
}
|
||||
// If the line hasn't been trimmed yet, it is entirely outside the
|
||||
// boundary, so tell the calling code.
|
||||
return false;
|
||||
if (!toDone && !fromDone)
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user