diff --git a/src/modules/voxelformat/private/PaletteLookup.h b/src/modules/voxelformat/private/PaletteLookup.h index a1a4eaab7..ca0764094 100644 --- a/src/modules/voxelformat/private/PaletteLookup.h +++ b/src/modules/voxelformat/private/PaletteLookup.h @@ -29,6 +29,10 @@ public: return _palette; } + inline voxel::Palette &palette() { + return _palette; + } + /** * @brief Find the closed index in the currently in-use palette for the given color * @param color Normalized color value [0.0-1.0]