Skip to content

Commit bcc3011

Browse files
committedOct 6, 2014
[composer] Remove duplicate canvas refreshes
1 parent 2110611 commit bcc3011

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed
 

‎src/app/composer/qgscomposer.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3546,13 +3546,6 @@ void QgsComposer::writeWorldFile( QString worldFileName, double a, double b, dou
35463546

35473547
void QgsComposer::setAtlasFeature( QgsMapLayer* layer, const QgsFeature& feat )
35483548
{
3549-
//update expression variables
3550-
QgsExpression::setSpecialColumn( "$atlasfeatureid", feat.id() );
3551-
QgsExpression::setSpecialColumn( "$atlasfeature", QVariant::fromValue( feat ) );
3552-
QgsExpression::setSpecialColumn( "$atlasgeometry", QVariant::fromValue( *( feat.geometry() ) ) );
3553-
3554-
emit atlasPreviewFeatureChanged();
3555-
35563549
//check if composition atlas settings match
35573550
QgsAtlasComposition& atlas = mComposition->atlasComposition();
35583551
if ( ! atlas.enabled() || atlas.coverageLayer() != layer )

0 commit comments

Comments
 (0)
Please sign in to comment.