Skip to content

Commit

Permalink
get projectionEnabled
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5413 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 3, 2006
1 parent 7c856a9 commit fd92f81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/grass/qgsgrassedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ QgsGrassEdit::QgsGrassEdit ( QgisApp *qgisApp, QgisIface *iface,
mIface = iface;
mNewMap = true;

mProjectionEnabled = (QgsProject::instance()->readNumEntry("SpatialRefSys","/ProjectionsEnabled",0)!=0);

mCanvas = mIface->getMapCanvas();

mProvider = provider;
Expand Down Expand Up @@ -1658,6 +1660,7 @@ QgsPoint QgsGrassEdit::transformLayerToCanvas ( QgsPoint point)

QgsPoint QgsGrassEdit::transformLayerToMap ( QgsPoint point)
{
std::cout << "mProjectionEnabled = " << mProjectionEnabled << std::endl;
if ( mProjectionEnabled && mLayer->coordinateTransform() )
{
try
Expand Down

0 comments on commit fd92f81

Please sign in to comment.