[GRASS-SVN] r68691 - grass/branches/releasebranch_7_0/imagery/i.vi
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jun 14 14:28:07 PDT 2016
Author: neteler
Date: 2016-06-14 14:28:07 -0700 (Tue, 14 Jun 2016)
New Revision: 68691
Modified:
grass/branches/releasebranch_7_0/imagery/i.vi/main.c
Log:
i.vi: writing of color table fixed (trunk, r68689)
Modified: grass/branches/releasebranch_7_0/imagery/i.vi/main.c
===================================================================
--- grass/branches/releasebranch_7_0/imagery/i.vi/main.c 2016-06-14 21:27:39 UTC (rev 68690)
+++ grass/branches/releasebranch_7_0/imagery/i.vi/main.c 2016-06-14 21:28:07 UTC (rev 68691)
@@ -539,6 +539,8 @@
val1 = -1;
val2 = 1;
Rast_add_c_color_rule(&val1, 0, 0, 0, &val2, 255, 255, 255, &colors);
+ Rast_write_colors(result, G_mapset(), &colors);
+
Rast_short_history(result, "raster", &history);
Rast_command_history(&history);
Rast_write_history(result, &history);
More information about the grass-commit
mailing list