We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e880ee4 commit 5774bc4Copy full SHA for 5774bc4
src/core/symbology-ng/qgssymbolv2.cpp
@@ -89,6 +89,8 @@ QgsMapUnitScale QgsSymbolV2::mapUnitScale() const
89
}
90
91
QgsSymbolLayerV2List::const_iterator it = mLayers.constBegin();
92
+ if( it == mLayers.constEnd() )
93
+ return QgsMapUnitScale();
94
95
QgsMapUnitScale scale = ( *it )->mapUnitScale();
96
++it;
0 commit comments