Skip to content

Commit

Permalink
Shortcut for empty circularstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 27, 2021
1 parent a9a6e38 commit 287baa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgscircularstring.cpp
Expand Up @@ -855,7 +855,7 @@ void QgsCircularString::setPoints( const QgsPointSequence &points )

void QgsCircularString::append( const QgsCircularString *line )
{
if ( !line )
if ( !line || line->isEmpty() )
{
return;
}
Expand Down

0 comments on commit 287baa7

Please sign in to comment.