[QGIS Commit] r9660 - trunk/qgis/src/providers/grass

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Nov 17 15:20:39 EST 2008


Author: timlinux
Date: 2008-11-17 15:20:38 -0500 (Mon, 17 Nov 2008)
New Revision: 9660

Modified:
   trunk/qgis/src/providers/grass/qgsgrassprovider.cpp
Log:
Fixes for GRASS vector to work with current GRASS in trunk (from Markus Neteler)

Modified: trunk/qgis/src/providers/grass/qgsgrassprovider.cpp
===================================================================
--- trunk/qgis/src/providers/grass/qgsgrassprovider.cpp	2008-11-17 20:11:06 UTC (rev 9659)
+++ trunk/qgis/src/providers/grass/qgsgrassprovider.cpp	2008-11-17 20:20:38 UTC (rev 9660)
@@ -1524,11 +1524,12 @@
   // TODO: Is it necessary for build/close ?
   G__setenv(( char * ) "MAPSET", map->mapset.toAscii().data() );
 
-  Vect_build_partial( map->map, GV_BUILD_NONE, NULL );
 #if defined(GRASS_VERSION_MAJOR) && defined(GRASS_VERSION_MINOR) && \
     ( ( GRASS_VERSION_MAJOR == 6 && GRASS_VERSION_MINOR >= 4 ) || GRASS_VERSION_MAJOR > 6 )
+  Vect_build_partial( map->map, GV_BUILD_NONE );
   Vect_build( map.map ); 
 #else 
+  Vect_build_partial( map->map, GV_BUILD_NONE, NULL );
   Vect_build( map->map, stderr );
 #endif
 



More information about the QGIS-commit mailing list