Browse Source

wxNviz: cutting planes rendering correction

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46655 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 14 years ago
parent
commit
cc9e594b4e
1 changed files with 5 additions and 0 deletions
  1. 5 0
      gui/wxpython/gui_modules/nviz_tools.py

+ 5 - 0
gui/wxpython/gui_modules/nviz_tools.py

@@ -3009,11 +3009,16 @@ class NvizToolWindow(FN.FlatNotebook):
         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)