Skip to content

Commit

Permalink
Revert changes in r6341 (qgsmaplayer.cpp only)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6344 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Dec 29, 2006
1 parent b59a0ca commit eb5389c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/gui/qgsmaplayer.cpp
Expand Up @@ -631,10 +631,8 @@ bool QgsMapLayer::projectExtent(QgsRect& extent, QgsRect& r2)
catch (QgsCsException &cse)
{
QgsLogger::warning("Transform error caught in " + QString(__FILE__) + ", line " + QString::number(__LINE__));
// Return the untransformed extent when the transformation
// fails rather then the largest extent possible!
//extent = QgsRect(-DBL_MAX, -DBL_MAX, DBL_MAX, DBL_MAX);
//r2 = QgsRect(-DBL_MAX, -DBL_MAX, DBL_MAX, DBL_MAX);
extent = QgsRect(-DBL_MAX, -DBL_MAX, DBL_MAX, DBL_MAX);
r2 = QgsRect(-DBL_MAX, -DBL_MAX, DBL_MAX, DBL_MAX);
}
}
return split;
Expand Down

0 comments on commit eb5389c

Please sign in to comment.