[GRASS-SVN] r69565 - grass-addons/grass7/raster3d/r3.profile

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Sep 23 12:56:29 PDT 2016


Author: neteler
Date: 2016-09-23 12:56:29 -0700 (Fri, 23 Sep 2016)
New Revision: 69565

Modified:
   grass-addons/grass7/raster3d/r3.profile/main.c
Log:
r3.profile: fix undefined mapset var, search in entire search path

Modified: grass-addons/grass7/raster3d/r3.profile/main.c
===================================================================
--- grass-addons/grass7/raster3d/r3.profile/main.c	2016-09-23 19:55:33 UTC (rev 69564)
+++ grass-addons/grass7/raster3d/r3.profile/main.c	2016-09-23 19:56:29 UTC (rev 69565)
@@ -330,7 +330,7 @@
     struct Colors colors;
 
     /* with any profile we always get the same colors */
-    Rast3d_read_colors(name, mapset, &colors);
+    Rast3d_read_colors(name, "", &colors);
     Rast_write_colors(parm.raster_output->answer, G_mapset(), &colors);
 
     exit(EXIT_SUCCESS);



More information about the grass-commit mailing list