[QGIS Commit] r10399 - branches/Version-1_0/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Sun Mar 22 05:40:57 EDT 2009
Author: wonder
Date: 2009-03-22 05:40:57 -0400 (Sun, 22 Mar 2009)
New Revision: 10399
Modified:
branches/Version-1_0/src/core/qgscoordinatereferencesystem.cpp
Log:
ported r10398 to 1.0 branch
Modified: branches/Version-1_0/src/core/qgscoordinatereferencesystem.cpp
===================================================================
--- branches/Version-1_0/src/core/qgscoordinatereferencesystem.cpp 2009-03-22 09:38:10 UTC (rev 10398)
+++ branches/Version-1_0/src/core/qgscoordinatereferencesystem.cpp 2009-03-22 09:40:57 UTC (rev 10399)
@@ -430,8 +430,14 @@
}
}
}
+
+ // if we failed to look up the projection in database, don't worry. we can still use it :)
+ if (!mIsValidFlag)
+ {
+ setProj4String(theProj4String);
+ }
- // NOTE: if its still empty after all the above steps then, the projection string is lost. Is that bad?
+
return mIsValidFlag;
}
More information about the QGIS-commit
mailing list