mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Fix map unit scale for simple line width not restored (fix #11181)
This commit is contained in:
parent
52a2feda5a
commit
4473efe351
@ -139,6 +139,8 @@ QgsSymbolLayerV2* QgsSimpleLineSymbolLayerV2::create( const QgsStringMap& props
|
||||
//pre 2.5 projects used "width_unit"
|
||||
l->setWidthUnit( QgsSymbolLayerV2Utils::decodeOutputUnit( props["width_unit"] ) );
|
||||
}
|
||||
if ( props.contains( "width_map_unit_scale" ) )
|
||||
l->setWidthMapUnitScale( QgsSymbolLayerV2Utils::decodeMapUnitScale( props["width_map_unit_scale"] ) );
|
||||
if ( props.contains( "offset" ) )
|
||||
l->setOffset( props["offset"].toDouble() );
|
||||
if ( props.contains( "offset_unit" ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user