Skip to content
Permalink
Browse files

Fix QgsTriangle::fromWkb possibly not setting ring geometry

  • Loading branch information
manisandro committed Oct 4, 2017
1 parent e151f20 commit 4d51b3d9e98e79a8ac24ac795374192b76f4145d
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/core/geometry/qgstriangle.cpp
@@ -161,10 +161,7 @@ bool QgsTriangle::fromWkb( QgsConstWkbPtr &wkbPtr )

QgsLineString *line = new QgsLineString();
line->fromWkbPoints( ringType, wkbPtr );
if ( !mExteriorRing )
{
mExteriorRing.reset( line );
}
mExteriorRing.reset( line );

return true;
}

0 comments on commit 4d51b3d

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