Forráskód Böngészése

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 éve
szülő
commit
cc9e594b4e
1 módosított fájl, 5 hozzáadás és 0 törlés
  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)