[GRASS-SVN] r46352 - grass/branches/develbranch_6/visualization/nviz2/cmd

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 22 06:13:15 EDT 2011


Author: martinl
Date: 2011-05-22 03:13:15 -0700 (Sun, 22 May 2011)
New Revision: 46352

Modified:
   grass/branches/develbranch_6/visualization/nviz2/cmd/args.c
Log:
nviz_cmd: remove double parameter & cosmetics in params description
(merge r46349 from trunk)


Modified: grass/branches/develbranch_6/visualization/nviz2/cmd/args.c
===================================================================
--- grass/branches/develbranch_6/visualization/nviz2/cmd/args.c	2011-05-22 10:10:32 UTC (rev 46351)
+++ grass/branches/develbranch_6/visualization/nviz2/cmd/args.c	2011-05-22 10:13:15 UTC (rev 46352)
@@ -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