Skip to content
Permalink
Browse files

[dxf] followup 31e93ae fix server

  • Loading branch information
3nids committed Feb 12, 2018
1 parent 338a73b commit 53f4464b53232bb6d44fbc2e00c3f4d2f9020493
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/server/services/wms/qgswmsrenderer.cpp
@@ -767,7 +767,7 @@ namespace QgsWms
QStringList wfsLayerIds = QgsServerProjectUtils::wfsLayerIds( *mProject );

// get dxf layers
QList< QPair<QgsVectorLayer *, int > > dxfLayers;
QList< QgsDxfExport::DxfLayer > dxfLayers;
int layerIdx = -1;
Q_FOREACH ( QgsMapLayer *layer, layers )
{
@@ -801,7 +801,7 @@ namespace QgsWms
layerAttribute = vlayer->fields().indexFromName( layerAttributes.at( layerIdx ) );
}

dxfLayers.append( qMakePair( vlayer, layerAttribute ) );
dxfLayers.append( QgsDxfExport::DxfLayer( vlayer, layerAttribute ) );
}

// add layers to dxf

0 comments on commit 53f4464

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