]> Pileus Git - aweather/commitdiff
Make radar semi-transparent
authorAndy Spencer <andy753421@gmail.com>
Tue, 26 Jan 2010 08:59:07 +0000 (08:59 +0000)
committerAndy Spencer <andy753421@gmail.com>
Tue, 26 Jan 2010 08:59:07 +0000 (08:59 +0000)
src/plugins/radar.c

index 1737fec2b5daabca12668f326856dfa6e62b8a9a..5ea9e1d80a6fbd610393a14d4615f94db83481d3 100644 (file)
@@ -56,7 +56,7 @@ static void _bscan_sweep(GisPluginRadar *self, Sweep *sweep, colormap_t *colorma
                        buf[buf_i+0] = colormap->data[val][0];
                        buf[buf_i+1] = colormap->data[val][1];
                        buf[buf_i+2] = colormap->data[val][2];
-                       buf[buf_i+3] = colormap->data[val][3]; // TESTING
+                       buf[buf_i+3] = colormap->data[val][3]/2; // TESTING
                        if (val == BADVAL     || val == RFVAL      || val == APFLAG ||
                            val == NOTFOUND_H || val == NOTFOUND_V || val == NOECHO) {
                                buf[buf_i+3] = 0x00; // transparent