[GRASS-SVN] r46349 - grass/trunk/visualization/nviz2/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 22 05:07:53 EDT 2011


Author: martinl
Date: 2011-05-22 02:07:53 -0700 (Sun, 22 May 2011)
New Revision: 46349

Modified:
   grass/trunk/visualization/nviz2/cmd/args.c
Log:
nviz_cmd: remove double parameter & cosmetics in params description


Modified: grass/trunk/visualization/nviz2/cmd/args.c
===================================================================
--- grass/trunk/visualization/nviz2/cmd/args.c	2011-05-22 08:15:21 UTC (rev 46348)
+++ grass/trunk/visualization/nviz2/cmd/args.c	2011-05-22 09:07:53 UTC (rev 46349)
@@ -277,18 +277,6 @@
     params->wire_color->answer = "136:136:136";
     params->wire_color->guisection = _("Draw");
 
-    /* shading */
-    params->shade = G_define_option();
-    params->shade->key = "shading";
-    params->shade->key_desc = "string";
-    params->shade->type = TYPE_STRING;
-    params->shade->required = NO;
-    params->shade->multiple = YES;
-    params->shade->description = _("Shading");
-    params->shade->options = "flat,gouraud";
-    params->shade->answer = "gouraud";
-    params->shade->guisection = _("Draw");
-
     /* position */
     params->surface_pos = G_define_option();
     params->surface_pos->key = "surface_position";
@@ -296,7 +284,7 @@
     params->surface_pos->type = TYPE_INTEGER;
     params->surface_pos->required = NO;
     params->surface_pos->multiple = YES;
-    params->surface_pos->description = _("Position");
+    params->surface_pos->description = _("Surface position");
     params->surface_pos->guisection = _("Draw");
     params->surface_pos->answer = "0,0,0";
     
@@ -364,7 +352,7 @@
     params->vline_pos->type = TYPE_INTEGER;
     params->vline_pos->required = NO;
     params->vline_pos->multiple = YES;
-    params->vline_pos->description = _("Position");
+    params->vline_pos->description = _("Vector lines position");
     params->vline_pos->guisection = _("Vector lines");
     params->vline_pos->answer = "0,0,0";
 
@@ -433,7 +421,7 @@
     params->vpoint_pos->type = TYPE_INTEGER;
     params->vpoint_pos->required = NO;
     params->vpoint_pos->multiple = YES;
-    params->vpoint_pos->description = _("Position");
+    params->vpoint_pos->description = _("Vector points position");
     params->vpoint_pos->guisection = _("Vector points");
     params->vpoint_pos->answer = "0,0,0";
     



More information about the grass-commit mailing list