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
  • Loading branch information
nyalldawson committed May 18, 2017
1 parent bba6313 commit 8997231
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/qgsmaptoolrotatepointsymbols.cpp
Original file line number Diff line number Diff line change
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.get() );
Expand Down

0 comments on commit 8997231

Please sign in to comment.