[GRASS-SVN] r73795 - grass/branches/releasebranch_7_4/imagery/i.segment

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 11 03:51:18 PST 2018


Author: martinl
Date: 2018-12-11 03:51:18 -0800 (Tue, 11 Dec 2018)
New Revision: 73795

Added:
   grass/branches/releasebranch_7_4/imagery/i.segment/testsuite/
Modified:
   grass/branches/releasebranch_7_4/imagery/i.segment/write_output.c
Log:
i.segment: fix r73512 writing out segment ids
           (merge r73559,r73564 from trunk)


Modified: grass/branches/releasebranch_7_4/imagery/i.segment/write_output.c
===================================================================
--- grass/branches/releasebranch_7_4/imagery/i.segment/write_output.c	2018-12-11 10:51:26 UTC (rev 73794)
+++ grass/branches/releasebranch_7_4/imagery/i.segment/write_output.c	2018-12-11 11:51:18 UTC (rev 73795)
@@ -36,6 +36,7 @@
 		if (rid > 0) {
 		    if (globals->method == ORM_RG)
 			rid = globals->new_id[rid];
+		    outbuf[col] = rid;
 		    if (maxid < rid)
 			maxid = rid;
 		}



More information about the grass-commit mailing list