Skip to content

Commit 741f713

Browse files
author
rblazek
committed
get projectionEnabled
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5413 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1720f9f commit 741f713

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/plugins/grass/qgsgrassedit.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ QgsGrassEdit::QgsGrassEdit ( QgisApp *qgisApp, QgisIface *iface,
185185
mIface = iface;
186186
mNewMap = true;
187187

188+
mProjectionEnabled = (QgsProject::instance()->readNumEntry("SpatialRefSys","/ProjectionsEnabled",0)!=0);
189+
188190
mCanvas = mIface->getMapCanvas();
189191

190192
mProvider = provider;
@@ -1658,6 +1660,7 @@ QgsPoint QgsGrassEdit::transformLayerToCanvas ( QgsPoint point)
16581660

16591661
QgsPoint QgsGrassEdit::transformLayerToMap ( QgsPoint point)
16601662
{
1663+
std::cout << "mProjectionEnabled = " << mProjectionEnabled << std::endl;
16611664
if ( mProjectionEnabled && mLayer->coordinateTransform() )
16621665
{
16631666
try

0 commit comments

Comments
 (0)