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/qgis@5413 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed May 3, 2006
1 parent 1720f9f commit 741f713
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/grass/qgsgrassedit.cpp
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 741f713

Please sign in to comment.