From f1899ee3976c6d817d760bd75026437a3162af63 Mon Sep 17 00:00:00 2001 From: Gaspar Capello Date: Mon, 13 Apr 2020 11:16:40 -0300 Subject: [PATCH] Minor fix in OctreeMap::mapColor function --- src/doc/octree_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/octree_map.cpp b/src/doc/octree_map.cpp index 85874c0f1..614344cc8 100644 --- a/src/doc/octree_map.cpp +++ b/src/doc/octree_map.cpp @@ -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; }