[GRASS-SVN] r62032 - in grass/trunk: gui/wxpython/core lib/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 17 20:49:19 PDT 2014


Author: annakrat
Date: 2014-09-17 20:49:19 -0700 (Wed, 17 Sep 2014)
New Revision: 62032

Modified:
   grass/trunk/gui/wxpython/core/settings.py
   grass/trunk/lib/nviz/map_obj.c
Log:
wxNviz: use black as default for vectors

Modified: grass/trunk/gui/wxpython/core/settings.py
===================================================================
--- grass/trunk/gui/wxpython/core/settings.py	2014-09-18 01:54:37 UTC (rev 62031)
+++ grass/trunk/gui/wxpython/core/settings.py	2014-09-18 03:49:19 UTC (rev 62032)
@@ -657,7 +657,7 @@
                     'lines' : {
                         'show' : False,
                         'width' : 2,
-                        'color' : (0, 0, 255, 255), # blue
+                        'color' : (0, 0, 0, 255),
                         'flat' : False,
                         'height' : 0,
                         'rgbcolumn': None,
@@ -668,7 +668,7 @@
                         'size' : 100,
                         'width' : 2,
                         'marker' : 2,
-                        'color' : (0, 0, 255, 255), # blue
+                        'color' : (0, 0, 0, 255),
                         'height' : 0,
                         'rgbcolumn': None,
                         'sizecolumn': None,

Modified: grass/trunk/lib/nviz/map_obj.c
===================================================================
--- grass/trunk/lib/nviz/map_obj.c	2014-09-18 01:54:37 UTC (rev 62031)
+++ grass/trunk/lib/nviz/map_obj.c	2014-09-18 03:49:19 UTC (rev 62032)
@@ -101,7 +101,7 @@
 
 	/* initialize display parameters
 	   automatically select all surfaces to draw vector */
-	GV_set_style(new_id, 1, 0xFF0000, 2, 0);
+	GV_set_style(new_id, 1, 0x000000, 2, 0);
 	surf_list = GS_get_surf_list(&num_surfs);
 	if (num_surfs) {
 	    for (i = 0; i < num_surfs; i++) {
@@ -130,7 +130,7 @@
 	}
 
 	/* initialize display parameters */
-	GP_set_style(new_id, 0xFF0000, 2, 100, ST_X);
+	GP_set_style(new_id, 0x000000, 2, 100, ST_X);
 	surf_list = GS_get_surf_list(&num_surfs);
 	for (i = 0; i < num_surfs; i++) {
 	    GP_select_surf(new_id, surf_list[i]);



More information about the grass-commit mailing list