Skip to content
Permalink
Browse files

Check for short-circuit in QgsCoordinateTransform::transformCoords

  • Loading branch information
dgoedkoop authored and nyalldawson committed Nov 25, 2015
1 parent de602e7 commit 0e866f02e910132fe12f064729cbf95cfaebeec0
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgscoordinatetransform.cpp
@@ -634,6 +634,8 @@ QgsRectangle QgsCoordinateTransform::transformBoundingBox( const QgsRectangle &r

void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, double *y, double *z, TransformDirection direction ) const
{
if ( mShortCircuit || !mInitialisedFlag )
return;
// Refuse to transform the points if the srs's are invalid
if ( !mSourceCRS.isValid() )
{

0 comments on commit 0e866f0

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