mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
fix layer extent calculation
This commit is contained in:
parent
4910276930
commit
484f72cf0c
@ -1562,6 +1562,7 @@ QgsRectangle QgsVectorLayer::extent()
|
||||
return QgsMapLayer::extent();
|
||||
|
||||
QgsRectangle rect;
|
||||
rect.setMinimal();
|
||||
|
||||
if ( !hasGeometryType() )
|
||||
return rect;
|
||||
|
Loading…
x
Reference in New Issue
Block a user