Skip to content
Permalink
Browse files

Revert changes in r6341 (qgsmaplayer.cpp only)

git-svn-id: http://svn.osgeo.org/qgis/trunk@6344 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 29, 2006
1 parent 134dfc4 commit b7efd3b9867da2549af3ee861994df32a980f56a
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/gui/qgsmaplayer.cpp
@@ -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;

0 comments on commit b7efd3b

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