Disable caching for exoplanet textures that are based on images to prevent warnings when enabling MRF caching

This commit is contained in:
Alexander Bock
2025-07-08 17:39:54 +02:00
parent 909d3a2ad1
commit 1b9f6b8f28

View File

@@ -201,7 +201,8 @@ function addExoplanetSystem(data)
Identifier = "StarTexture",
FilePath = openspace.absPath(starTexture),
BlendMode = "Color",
Enabled = true
Enabled = true,
CacheSettings = { Enabled = false }
}
}
else
@@ -210,7 +211,8 @@ function addExoplanetSystem(data)
Identifier = "NoDataStarTexture",
FilePath = openspace.absPath(starNoDataTexture),
BlendMode = "Color",
Enabled = true
Enabled = true,
CacheSettings = { Enabled = false }
}
}
end
@@ -504,7 +506,8 @@ function addExoplanetSystem(data)
Identifier = "PlanetTexture",
Name = "Planet Texture",
FilePath = openspace.absPath(defaultPlanetTexture),
Enabled = true
Enabled = true,
CacheSettings = { Enabled = false }
}
table.insert(planetColorLayers, PlanetTextureLayer)
ambientIntensity = 0.15