|
@@ -1949,7 +1949,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
event = wxUpdateProperties(data = data)
|
|
|
wx.PostEvent(self.mapWindow, event)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
def OnSurfaceAxis(self, event):
|
|
@@ -2009,7 +2009,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
event = wxUpdateProperties(data = data)
|
|
|
wx.PostEvent(self.mapWindow, event)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
# self.UpdatePage('surface')
|
|
|
|
|
@@ -2070,7 +2070,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
event = wxUpdateProperties(data = data)
|
|
|
wx.PostEvent(self.mapWindow, event)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
event.Skip()
|
|
@@ -2128,7 +2128,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
event = wxUpdateProperties(data = data)
|
|
|
wx.PostEvent(self.mapWindow, event)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
def OnVectorHeight(self, event):
|
|
@@ -2199,7 +2199,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
event = wxUpdateProperties(data = data)
|
|
|
wx.PostEvent(self.mapWindow, event)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
def OnVectorPoints(self, event):
|
|
@@ -2228,7 +2228,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
event = wxUpdateProperties(data = data)
|
|
|
wx.PostEvent(self.mapWindow, event)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
def UpdateIsosurfButtons(self, list):
|
|
@@ -2281,7 +2281,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
|
|
|
self._display.SetIsosurfaceMode(id, mode)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
def OnVolumeIsosurfResolution(self, event):
|
|
@@ -2300,7 +2300,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
id = data['object']['id']
|
|
|
self._display.SetIsosurfaceRes(id, res)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
def OnVolumeIsosurfMap(self, event):
|
|
@@ -2322,7 +2322,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
# disable -> make transparent
|
|
|
self._display.SetIsosurfaceTransp(id, isosurfId, False, "255")
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
def OnVolumeIsosurfSelect(self, event):
|
|
@@ -2410,7 +2410,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
# update buttons
|
|
|
self.UpdateIsosurfButtons(list)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
event.Skip()
|
|
@@ -2438,7 +2438,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
# update buttons
|
|
|
self.UpdateIsosurfButtons(list)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
event.Skip()
|
|
@@ -2468,7 +2468,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
# update buttons
|
|
|
self.UpdateIsosurfButtons(list)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
event.Skip()
|
|
@@ -2498,7 +2498,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
# update buttons
|
|
|
self.UpdateIsosurfButtons(list)
|
|
|
|
|
|
- if self.parent.statusbarWin['render'].IsChecked():
|
|
|
+ if self.mapDisplay.statusbarWin['render'].IsChecked():
|
|
|
self.mapWindow.Refresh(False)
|
|
|
|
|
|
event.Skip()
|
|
@@ -2642,7 +2642,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
|
|
|
npoints = nprimitives = 0
|
|
|
for line in vInfo.splitlines():
|
|
|
- key, value = line.split(' = ')
|
|
|
+ key, value = line.split('=')
|
|
|
if key == 'map3d':
|
|
|
mapIs3D = int(value)
|
|
|
|