[GRASS-SVN] r60392 - grass/trunk/vector/v.edit
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 21 08:03:21 PDT 2014
Author: hcho
Date: 2014-05-21 08:03:20 -0700 (Wed, 21 May 2014)
New Revision: 60392
Modified:
grass/trunk/vector/v.edit/main.c
Log:
v.edit: Don't try to build topology when no features selected
Modified: grass/trunk/vector/v.edit/main.c
===================================================================
--- grass/trunk/vector/v.edit/main.c 2014-05-21 13:04:37 UTC (rev 60391)
+++ grass/trunk/vector/v.edit/main.c 2014-05-21 15:03:20 UTC (rev 60392)
@@ -465,8 +465,8 @@
Vect_hist_command(&Map);
/* build topology only if requested or if tool!=select */
- if (!(action_mode == MODE_SELECT || params.topo->answer == 1 ||
- !MODE_NONE)) {
+ if (action_mode != MODE_SELECT && action_mode != MODE_NONE &&
+ params.topo->answer != 1) {
Vect_build_partial(&Map, GV_BUILD_NONE);
Vect_build(&Map);
}
More information about the grass-commit
mailing list