Skip to content

Commit

Permalink
Allow rotate point symbol tool to work with features with initially
Browse files Browse the repository at this point in the history
NULL rotation values

(cherry-picked from 8997231)
  • Loading branch information
nyalldawson committed May 18, 2017
1 parent c26f1b5 commit 47f7bbe
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/qgsmaptoolrotatepointsymbols.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 47f7bbe

Please sign in to comment.