소스 검색

vlib(pg): fix caching features (reset also fparts)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51022 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 년 전
부모
커밋
88411ff32f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      lib/vector/Vlib/read_pg.c

+ 1 - 0
lib/vector/Vlib/read_pg.c

@@ -732,6 +732,7 @@ SF_FeatureType cache_feature(const char *data, int skip_polygon,
 	reallocate_cache(cache, 1);
     }
     cache->lines_num = 0;
+    fparts->n_parts = 0;
     
     ret = -1;
     if (ftype == SF_POINT) {