[GRASS-SVN] r68763 - sandbox/bo/i.segment.gsoc2016/i.segment
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jun 24 18:56:02 PDT 2016
Author: hao2309
Date: 2016-06-24 18:56:02 -0700 (Fri, 24 Jun 2016)
New Revision: 68763
Modified:
sandbox/bo/i.segment.gsoc2016/i.segment/write_output.c
Log:
updated Ref.file[n].mapset
Modified: sandbox/bo/i.segment.gsoc2016/i.segment/write_output.c
===================================================================
--- sandbox/bo/i.segment.gsoc2016/i.segment/write_output.c 2016-06-24 20:42:24 UTC (rev 68762)
+++ sandbox/bo/i.segment.gsoc2016/i.segment/write_output.c 2016-06-25 01:56:02 UTC (rev 68763)
@@ -91,8 +91,8 @@
G_asprintf(&shifted_out_name, "%s_%s", Ref.file[n].name, globals->ms_suffix);
/* set colors */
Rast_init_colors(&colors);
- Rast_read_colors(Ref.file[n].name,G_mapset(), &colors);
- Rast_write_colors(shifted_out_name, G_mapset(), &colors);
+ Rast_read_colors(Ref.file[n].name,Ref.file[n].mapset, &colors);
+ Rast_write_colors(shifted_out_name, Ref.file[n].mapset, &colors);
Rast_short_history(shifted_out_name, "raster", &hist);
More information about the grass-commit
mailing list