Skip to content
Permalink
Browse files
get projectionEnabled
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 741f713ccf270333bcc17ee66d3570162dc9751e
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/plugins/grass/qgsgrassedit.cpp
@@ -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;
@@ -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

0 comments on commit 741f713

Please sign in to comment.