瀏覽代碼

vlib: don't print building message for temporary maps (cosmetics)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55479 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 年之前
父節點
當前提交
8a14bdd681
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/vector/Vlib/build.c

+ 1 - 1
lib/vector/Vlib/build.c

@@ -857,7 +857,7 @@ int Vect_build_partial(struct Map_info *Map, int build)
 	Vect_open_sidx(Map, 2);
 	Vect_open_sidx(Map, 2);
 
 
     plus = &(Map->plus);
     plus = &(Map->plus);
-    if (build > GV_BUILD_NONE) {
+    if (build > GV_BUILD_NONE && !Map->temporary) {
 	G_message(_("Building topology for vector map <%s>..."),
 	G_message(_("Building topology for vector map <%s>..."),
 		  Vect_get_full_name(Map));
 		  Vect_get_full_name(Map));
     }
     }