[GRASS-SVN] r35808 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 8 10:24:16 EST 2009
Author: martinl
Date: 2009-02-08 10:24:16 -0500 (Sun, 08 Feb 2009)
New Revision: 35808
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_mapdisp.py
Log:
wxGUI/nviz: unused code commeted out (trac #481)
(merge from trunk, r35806)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_mapdisp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_mapdisp.py 2009-02-08 15:20:10 UTC (rev 35807)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/nviz_mapdisp.py 2009-02-08 15:24:16 UTC (rev 35808)
@@ -185,9 +185,10 @@
def OnMouseAction(self, event):
# change position
if event.Dragging() and event.LeftIsDown():
- self.lastX = self.lastY = self.x = self.y
- self.x, self.y = event.GetPosition()
- self.Refresh(False)
+ ### self.lastX = self.lastY = self.x = self.y
+ ### self.x, self.y = event.GetPosition()
+ ### self.Refresh(False)
+ pass
# change perspective with mouse wheel
wheel = event.GetWheelRotation()
@@ -223,7 +224,7 @@
def OnLeftDown(self, event):
self.CaptureMouse()
- self.x, self.y = self.lastX, self.lastY = event.GetPosition()
+ ### self.x, self.y = self.lastX, self.lastY = event.GetPosition()
def OnLeftUp(self, event):
self.ReleaseMouse()
More information about the grass-commit
mailing list