Skip to content
Permalink
Browse files

fix layer extent calculation

  • Loading branch information
jef-n committed Nov 7, 2012
1 parent 4910276 commit 484f72cf0c8896fea1330b6c8c3ec1680e114015
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/core/qgsvectorlayer.cpp
@@ -1562,6 +1562,7 @@ QgsRectangle QgsVectorLayer::extent()
return QgsMapLayer::extent();

QgsRectangle rect;
rect.setMinimal();

if ( !hasGeometryType() )
return rect;

0 comments on commit 484f72c

Please sign in to comment.
You can’t perform that action at this time.