Skip to content
Permalink
Browse files

skip blanks between wkt child blocks (fixes #13053)

(cherry-picked from 29aaf1b)
  • Loading branch information
jef-n authored and nyalldawson committed Jul 3, 2015
1 parent 9932ae1 commit 77e937fc1dfc73a738e26d939df064c34de9e95a
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/geometry/qgsgeometryutils.cpp
@@ -497,6 +497,9 @@ QStringList QgsGeometryUtils::wktGetChildBlocks( const QString &wkt, const QStri
QStringList blocks;
for ( int i = 0, n = wkt.length(); i < n; ++i )
{
if ( wkt[i].isSpace() && level == 0 )
continue;

if ( wkt[i] == ',' && level == 0 )
{
if ( !block.isEmpty() )

0 comments on commit 77e937f

Please sign in to comment.
You can’t perform that action at this time.