Skip to content
Permalink
Browse files

[composer] Remove duplicate canvas refreshes

  • Loading branch information
nyalldawson committed Oct 6, 2014
1 parent 2110611 commit bcc3011f6d50189d1ac9821c6dbeb176589f609f
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/app/composer/qgscomposer.cpp
@@ -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 )

0 comments on commit bcc3011

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