[GRASS-SVN] r52713 - in grass/trunk/gui/wxpython: lmgr nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 17 08:34:46 PDT 2012
Author: annakrat
Date: 2012-08-17 08:34:45 -0700 (Fri, 17 Aug 2012)
New Revision: 52713
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
grass/trunk/gui/wxpython/nviz/workspace.py
Log:
wxNviz: minor bugfixes
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2012-08-17 14:43:43 UTC (rev 52712)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2012-08-17 15:34:45 UTC (rev 52713)
@@ -305,7 +305,7 @@
"""!Remove nviz notebook page"""
# if more mapwindow3D were possible, check here if nb page should be removed
self.notebook.SetSelectionByName('layers')
- self.notebook.RemovePage(self.notebook.GetPageIndexByName('nviz'))
+ self.notebook.RemovePage('nviz')
del self.nviz
# hide toolbar
self._auimgr.GetPane('toolbarNviz').Hide()
Modified: grass/trunk/gui/wxpython/nviz/workspace.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/workspace.py 2012-08-17 14:43:43 UTC (rev 52712)
+++ grass/trunk/gui/wxpython/nviz/workspace.py 2012-08-17 15:34:45 UTC (rev 52713)
@@ -329,10 +329,10 @@
# arrow
if type == 'arrow':
- data['arrow'] = UserSettings.Get(group = 'nviz', key = 'arrow')
+ data['arrow'] = copy.deepcopy(UserSettings.Get(group = 'nviz', key = 'arrow'))
data['arrow']['color'] = "%d:%d:%d" % (
UserSettings.Get(group = 'nviz', key = 'arrow', subkey = 'color')[:3])
- data['arrow'].update(UserSettings.Get(group = 'nviz', key = 'arrow', internal = True))
+ data['arrow'].update(copy.deepcopy(UserSettings.Get(group = 'nviz', key = 'arrow', internal = True)))
data['arrow']['show'] = False
# arrow
More information about the grass-commit
mailing list