diff --git a/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp b/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp index 0c842c1a8f..75debb26a2 100644 --- a/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp +++ b/modules/digitaluniverse/rendering/renderablebillboardscloud.cpp @@ -1053,7 +1053,7 @@ std::vector RenderableBillboardsCloud::createDataSlice() { const double r = glm::length(p); maxRadius = std::max(maxRadius, r); - if (_hasColorMapFile) { + if (_hasColorMapFile && _useColorMap && !_colorMap.entries.empty()) { for (int j = 0; j < 4; ++j) { result.push_back(position[j]); }