[SCM] qgis branch, master, updated. a2ee769957385f4e084c5e8b6ba178a8c877d1db
Juergen E. Fischer
jef at norbit.de
Tue Mar 20 13:42:53 UTC 2012
The following commit has been merged in the master branch:
commit 407832a9c72f6e6e1ef155c74ac6108d1ac61bd6
Author: Juergen E. Fischer <jef at norbit.de>
Date: Tue Mar 6 13:53:26 2012 +0100
expression builder: only fetch geometry when required (and available)
diff --git a/src/gui/qgsexpressionbuilderwidget.cpp b/src/gui/qgsexpressionbuilderwidget.cpp
index 9164f81..450770a 100644
--- a/src/gui/qgsexpressionbuilderwidget.cpp
+++ b/src/gui/qgsexpressionbuilderwidget.cpp
@@ -249,7 +249,7 @@ void QgsExpressionBuilderWidget::on_txtExpressionString_textChanged()
{
if ( !mFeature.isValid() )
{
- mLayer->select( mLayer->pendingAllAttributesList() );
+ mLayer->select( mLayer->pendingAllAttributesList(), QgsRectangle(), mLayer->geometryType() != QGis::NoGeometry && exp.needsGeometry() );
mLayer->nextFeature( mFeature );
}
--
The Quantum GIS in Debian project
More information about the Pkg-grass-devel
mailing list