[GRASS-SVN] r46655 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 10 09:15:37 EDT 2011


Author: annakrat
Date: 2011-06-10 06:15:37 -0700 (Fri, 10 Jun 2011)
New Revision: 46655

Modified:
   grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
Log:
wxNviz: cutting planes rendering correction

Modified: grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/nviz_tools.py	2011-06-10 10:49:50 UTC (rev 46654)
+++ grass/trunk/gui/wxpython/gui_modules/nviz_tools.py	2011-06-10 13:15:37 UTC (rev 46655)
@@ -3009,11 +3009,16 @@
         data = self.mapWindow.cplanes[planeIndex][action]
         self.OnScroll(event, self.win['cplane'][action], data)
         
+        self.mapWindow.render['quick'] = True
         event = wxUpdateCPlane(update = (action,), current = planeIndex)
         wx.PostEvent(self.mapWindow, event)
+        
+        if self.mapDisplay.statusbarWin['render'].IsChecked():
+            self.mapWindow.Refresh(False)
 
     def OnCPlaneChangeDone(self, event):
         """!Cutting plane change done"""
+        self.mapWindow.render['quick'] = False
         if self.mapDisplay.statusbarWin['render'].IsChecked():
             self.mapWindow.Refresh(False)
             



More information about the grass-commit mailing list