[GRASS-SVN] r57362 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 2 02:50:13 PDT 2013
Author: annakrat
Date: 2013-08-02 02:50:13 -0700 (Fri, 02 Aug 2013)
New Revision: 57362
Modified:
grass/trunk/gui/wxpython/mapdisp/mapwindow.py
Log:
wxGUI: remove unnecessary reference to frame in BufferedWindow
Modified: grass/trunk/gui/wxpython/mapdisp/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/mapwindow.py 2013-08-02 09:11:59 UTC (rev 57361)
+++ grass/trunk/gui/wxpython/mapdisp/mapwindow.py 2013-08-02 09:50:13 UTC (rev 57362)
@@ -1799,7 +1799,7 @@
dEast = (e2 - e1)
dNorth = (n2 - n1)
- if self.frame.Map.projinfo['proj'] == 'll' and haveCtypes:
+ if self.Map.projinfo['proj'] == 'll' and haveCtypes:
dist = gislib.G_distance(e1, n1, e2, n2)
else:
dist = math.sqrt(math.pow((dEast), 2) + math.pow((dNorth), 2))
More information about the grass-commit
mailing list