Skip to content

Commit 484f72c

Browse files
committedNov 7, 2012
fix layer extent calculation
1 parent 4910276 commit 484f72c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/core/qgsvectorlayer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,6 +1562,7 @@ QgsRectangle QgsVectorLayer::extent()
15621562
return QgsMapLayer::extent();
15631563

15641564
QgsRectangle rect;
1565+
rect.setMinimal();
15651566

15661567
if ( !hasGeometryType() )
15671568
return rect;

0 commit comments

Comments
 (0)
Please sign in to comment.