Minor fix in OctreeMap::mapColor function

This commit is contained in:
Gaspar Capello 2020-04-13 11:16:40 -03:00
parent 2e968d7a09
commit f1899ee397

View File

@ -260,7 +260,7 @@ int OctreeMap::mapColor(color_t rgba) const
else if (m_root.children())
return m_root.mapColor(rgba_getr(rgba),
rgba_getg(rgba),
rgba_geta(rgba), 0);
rgba_getb(rgba), 0);
else
return 0;
}