Skip to content

Commit 417de81

Browse files
author
timlinux
committed
Fixes for GRASS vector to work with current GRASS in trunk (from Markus Neteler)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9660 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5d14b0e commit 417de81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/providers/grass/qgsgrassprovider.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1524,11 +1524,12 @@ bool QgsGrassProvider::closeEdit( bool newMap )
15241524
// TODO: Is it necessary for build/close ?
15251525
G__setenv(( char * ) "MAPSET", map->mapset.toAscii().data() );
15261526

1527-
Vect_build_partial( map->map, GV_BUILD_NONE, NULL );
15281527
#if defined(GRASS_VERSION_MAJOR) && defined(GRASS_VERSION_MINOR) && \
15291528
( ( GRASS_VERSION_MAJOR == 6 && GRASS_VERSION_MINOR >= 4 ) || GRASS_VERSION_MAJOR > 6 )
1529+
Vect_build_partial( map->map, GV_BUILD_NONE );
15301530
Vect_build( map.map );
15311531
#else
1532+
Vect_build_partial( map->map, GV_BUILD_NONE, NULL );
15321533
Vect_build( map->map, stderr );
15331534
#endif
15341535

0 commit comments

Comments
 (0)