Skip to content
Permalink
Browse files
Allow rotate point symbol tool to work with features with initially
NULL rotation values

(cherry-picked from 8997231)
  • Loading branch information
nyalldawson committed May 18, 2017
1 parent c26f1b5 commit 47f7bbea7b84c626cac155befa6b7ec2e251e309
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/app/qgsmaptoolrotatepointsymbols.cpp
@@ -77,10 +77,6 @@ void QgsMapToolRotatePointSymbols::canvasPressOnFeature( QgsMapMouseEvent *e, co
{
//find out initial arrow direction
QVariant attrVal = feature.attribute( mCurrentRotationAttributes.toList().at( 0 ) );
if ( !attrVal.isValid() )
{
return;
}

mCurrentRotationFeature = attrVal.toDouble();
createPixmapItem( mMarkerSymbol.data() );

0 comments on commit 47f7bbe

Please sign in to comment.