[GRASS-SVN] r42610 - grass/trunk/lib/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 20 15:09:51 EDT 2010
Author: martinl
Date: 2010-06-20 19:09:51 +0000 (Sun, 20 Jun 2010)
New Revision: 42610
Modified:
grass/trunk/lib/nviz/map_obj.c
Log:
nvizlib: fix Nviz_set_vpoint_attr_default() sync'ed with develbr6
Modified: grass/trunk/lib/nviz/map_obj.c
===================================================================
--- grass/trunk/lib/nviz/map_obj.c 2010-06-20 19:09:17 UTC (rev 42609)
+++ grass/trunk/lib/nviz/map_obj.c 2010-06-20 19:09:51 UTC (rev 42610)
@@ -328,6 +328,7 @@
*/
int Nviz_set_vpoint_attr_default(int id)
{
+ int i;
geosite *gp;
gp = gp_get_site(id);
@@ -335,6 +336,9 @@
if (!gp)
return 0;
+ for (i = 0; i < GPT_MAX_ATTR; i++)
+ gp->use_attr[i] = ST_ATT_NONE;
+
return 1;
}
More information about the grass-commit
mailing list