Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[composer] Remove duplicate canvas refreshes
  • Loading branch information
nyalldawson committed Oct 6, 2014
1 parent 2110611 commit bcc3011
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/app/composer/qgscomposer.cpp
Expand Up @@ -3546,13 +3546,6 @@ void QgsComposer::writeWorldFile( QString worldFileName, double a, double b, dou

void QgsComposer::setAtlasFeature( QgsMapLayer* layer, const QgsFeature& feat )
{
//update expression variables
QgsExpression::setSpecialColumn( "$atlasfeatureid", feat.id() );
QgsExpression::setSpecialColumn( "$atlasfeature", QVariant::fromValue( feat ) );
QgsExpression::setSpecialColumn( "$atlasgeometry", QVariant::fromValue( *( feat.geometry() ) ) );

emit atlasPreviewFeatureChanged();

//check if composition atlas settings match
QgsAtlasComposition& atlas = mComposition->atlasComposition();
if ( ! atlas.enabled() || atlas.coverageLayer() != layer )
Expand Down

0 comments on commit bcc3011

Please sign in to comment.