Skip to content

Commit

Permalink
Fix transform shear value not saved (fix #16567)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 17, 2017
1 parent 3fc1bda commit 1ae3163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/effects/qgstransformeffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ void QgsTransformEffect::readProperties( const QgsStringMap &props )
mScaleX = props.value( "scale_x", "1.0" ).toDouble();
mScaleY = props.value( "scale_y", "1.0" ).toDouble();
mRotation = props.value( "rotation", "0.0" ).toDouble();
mShearX = props.value( "shear_x", "0.0" ).toDouble();
mShearY = props.value( "shear_y", "0.0" ).toDouble();
mTranslateX = props.value( "translate_x", "0.0" ).toDouble();
mTranslateY = props.value( "translate_y", "0.0" ).toDouble();
mTranslateUnit = QgsSymbolLayerV2Utils::decodeOutputUnit( props.value( "translate_unit" ) );
Expand Down

0 comments on commit 1ae3163

Please sign in to comment.