mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-25 21:48:57 -05:00
A bit more code cleanup
This commit is contained in:
@@ -1690,11 +1690,11 @@ void RenderableGlobe::recompileShaders() {
|
||||
|
||||
std::vector<std::pair<std::string, std::string>>& pairs =
|
||||
preprocessingData.keyValuePairs;
|
||||
|
||||
|
||||
const bool hasHeightLayer = !_layerManager.layerGroup(
|
||||
layergroupid::HeightLayers
|
||||
).activeLayers().empty();
|
||||
|
||||
|
||||
pairs.emplace_back("useAccurateNormals",
|
||||
std::to_string(_generalProperties.useAccurateNormals && hasHeightLayer)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user