Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Copy cached properties when copying QgsCurvePolygon
  • Loading branch information
nyalldawson committed Apr 17, 2023
1 parent b2b8c95 commit 25c9382
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/geometry/qgscurvepolygon.cpp
Expand Up @@ -74,6 +74,10 @@ QgsCurvePolygon::QgsCurvePolygon( const QgsCurvePolygon &p )
{
mInteriorRings.push_back( ring->clone() );
}

mBoundingBox = p.mBoundingBox;
mHasCachedValidity = p.mHasCachedValidity;
mValidityFailureReason = p.mValidityFailureReason;
}

QgsCurvePolygon &QgsCurvePolygon::operator=( const QgsCurvePolygon &p )
Expand Down

0 comments on commit 25c9382

Please sign in to comment.