[GRASS-SVN] r52715 - grass/branches/releasebranch_6_4/gui/wxpython/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 17 08:38:27 PDT 2012


Author: annakrat
Date: 2012-08-17 08:38:27 -0700 (Fri, 17 Aug 2012)
New Revision: 52715

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/nviz/workspace.py
Log:
wxNviz: minor bugfixes

Modified: grass/branches/releasebranch_6_4/gui/wxpython/nviz/workspace.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/nviz/workspace.py	2012-08-17 15:38:07 UTC (rev 52714)
+++ grass/branches/releasebranch_6_4/gui/wxpython/nviz/workspace.py	2012-08-17 15:38:27 UTC (rev 52715)
@@ -309,10 +309,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