[GRASS-SVN] r47778 - grass/trunk/lib/ogsf

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 19 11:24:53 EDT 2011


Author: annakrat
Date: 2011-08-19 08:24:53 -0700 (Fri, 19 Aug 2011)
New Revision: 47778

Modified:
   grass/trunk/lib/ogsf/Gp3.c
Log:
ogsf: show vector points in current region only

Modified: grass/trunk/lib/ogsf/Gp3.c
===================================================================
--- grass/trunk/lib/ogsf/Gp3.c	2011-08-19 14:00:00 UTC (rev 47777)
+++ grass/trunk/lib/ogsf/Gp3.c	2011-08-19 15:24:53 UTC (rev 47778)
@@ -73,6 +73,8 @@
     }
 
     G_get_set_window(&wind);
+    Vect_set_constraint_region(&map, wind.north, wind.south, wind.east,
+			       wind.west, PORT_DOUBLE_MAX, -PORT_DOUBLE_MAX);
 
     /* get ndim */
     *has_z = 0;



More information about the grass-commit mailing list