File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ void QgsAtlasComposition::prepareMap( QgsComposerMap* map )
451
451
break ;
452
452
}
453
453
454
- if ( map->atlasScalingMode () == QgsComposerMap::Fixed || isPointLayer )
454
+ if ( map->atlasScalingMode () == QgsComposerMap::Fixed || isPointLayer )
455
455
{
456
456
// only translate, keep the original scale (i.e. width x height)
457
457
@@ -683,7 +683,7 @@ void QgsAtlasComposition::updateFilenameExpression()
683
683
684
684
const QgsFields& fields = mCoverageLayer ->pendingFields ();
685
685
686
- if ( ! mSingleFile && mFilenamePattern .size () > 0 )
686
+ if ( mFilenamePattern .size () > 0 )
687
687
{
688
688
mFilenameExpr = std::auto_ptr<QgsExpression>( new QgsExpression ( mFilenamePattern ) );
689
689
// expression used to evaluate each filename
@@ -708,7 +708,7 @@ void QgsAtlasComposition::updateFilenameExpression()
708
708
void QgsAtlasComposition::evalFeatureFilename ()
709
709
{
710
710
// generate filename for current atlas feature
711
- if ( ! mSingleFile && mFilenamePattern .size () > 0 )
711
+ if ( mFilenamePattern .size () > 0 )
712
712
{
713
713
QVariant filenameRes = mFilenameExpr ->evaluate ( &mCurrentFeature , mCoverageLayer ->pendingFields () );
714
714
if ( mFilenameExpr ->hasEvalError () )
You can’t perform that action at this time.
0 commit comments