Skip to content
Permalink
Browse files
fix crash
  • Loading branch information
jef-n committed May 15, 2014
1 parent e880ee4 commit 5774bc408bc7156f2a1ea01685486ee5811ffd69
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/symbology-ng/qgssymbolv2.cpp
@@ -89,6 +89,8 @@ QgsMapUnitScale QgsSymbolV2::mapUnitScale() const
}

QgsSymbolLayerV2List::const_iterator it = mLayers.constBegin();
if( it == mLayers.constEnd() )
return QgsMapUnitScale();

QgsMapUnitScale scale = ( *it )->mapUnitScale();
++it;

0 comments on commit 5774bc4

Please sign in to comment.