|
@@ -321,10 +321,10 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
# set initial defaults here (or perhaps in a default values file), not in user settings
|
|
|
#todo: consider setting an absolute max at 360 instead of undefined. (leave the default max value at pi)
|
|
|
self._createControl(panel, data = self.win['view'], name = 'persp',
|
|
|
- range = (1,180),
|
|
|
+ range = (1,100),
|
|
|
bind = (self.OnViewChange, self.OnViewChanged, self.OnViewChangedText))
|
|
|
|
|
|
- gridSizer.Add(item = wx.StaticText(panel, id = wx.ID_ANY, label = _("Perspective:")),
|
|
|
+ gridSizer.Add(item = wx.StaticText(panel, id = wx.ID_ANY, label = _("Distance %:")),
|
|
|
pos = (1, 0), flag = wx.ALIGN_CENTER)
|
|
|
gridSizer.Add(item = self.FindWindowById(self.win['view']['persp']['slider']), pos = (2, 0),
|
|
|
flag = wx.ALIGN_CENTER)
|
|
@@ -4154,7 +4154,7 @@ class NvizToolWindow(FN.FlatNotebook):
|
|
|
count = self._display.GetCPlanesCount()
|
|
|
choices = [_("None"),]
|
|
|
for plane in range(count):
|
|
|
- choices.append("%s %i" % (_("Plane"), plane))
|
|
|
+ choices.append("%s %i" % (_("Plane"), plane+1))
|
|
|
self.FindWindowById(self.win['cplane']['planes']).SetItems(choices)
|
|
|
current = 0
|
|
|
for i, cplane in enumerate(self.mapWindow.cplanes):
|