#756: Dragging instead of just clicking for profile transect and measurement
zooms window
---------------------------------------+------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: unspecified
Keywords: profile measure mousedrag | Platform: Unspecified
Cpu: All |
---------------------------------------+------------------------------------
If you drag with the mouse to create a line for a profile transect or
measurement line, instead of just clicking the nodes, it can zoom the
display.
#756: Dragging instead of just clicking for profile transect and measurement
zooms window
--------------------------+-------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: reopened
Priority: normal | Milestone: 6.4.0
Component: wxGUI | Version: unspecified
Resolution: | Keywords: profile measure mousedrag
Platform: Unspecified | Cpu: All
--------------------------+-------------------------------------------------
Comment (by cmbarton):
Here the error that is raised:
*
*
Traceback (most recent call last):
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 1057, in MouseActions
self.OnDragging(event)
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 1147, in OnDragging
self.MouseDraw(pdc=self.pdcTmp)
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 960, in MouseDraw
self.Draw(pdc, drawid=self.lineid, pdctype='line',
coords=mousecoords)
File "/Users/cmbarton/grass_dev/grass6_src/dist.i386
-apple-
darwin9.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 349, in Draw
wx.Point(coords[2], coords[3]))
File "//usr/local/lib/wxPython-
unicode-2.8.10.1/lib/python2.5/site-packages/wx-2.8-mac-
unicode/wx/_gdi.py", line 7209, in DrawLine