[GRASS-SVN] r35807 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 8 10:20:11 EST 2009
Author: martinl
Date: 2009-02-08 10:20:10 -0500 (Sun, 08 Feb 2009)
New Revision: 35807
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py
Log:
wxGUI/nviz: unused code commeted out (trac #481)
(merge from trunk, r35806)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py 2009-02-08 15:18:10 UTC (rev 35806)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/nviz_mapdisp.py 2009-02-08 15:20:10 UTC (rev 35807)
@@ -190,9 +190,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()
@@ -228,7 +229,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