[GRASS-dev] r.colors now producing bogus color files for 'ryg'
case
Glynn Clements
glynn at gclements.plus.com
Fri Jun 1 00:06:10 EDT 2007
Hamish wrote:
> So FP maps are being treated as CELL maps?
Oops:
--- raster/r.colors/main.c 29 May 2007 04:43:14 -0000 2.17
+++ raster/r.colors/main.c 1 Jun 2007 04:06:38 -0000
@@ -306,7 +306,7 @@
exit(EXIT_FAILURE);
}
else if (find_rule(type))
- G_make_colors(&colors, type, min, max);
+ G_make_fp_colors(&colors, type, min, max);
else
G_fatal_error(_("%s - unknown color request"), type);
}
Fixed in CVS.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list