Fade slider fix for RenderableGalaxy

This commit is contained in:
Arohdin
2025-07-17 14:39:39 +02:00
parent a5069f0e5a
commit 0bcfc7790f

View File

@@ -573,7 +573,7 @@ void RenderableGalaxy::render(const RenderData& data, RendererTasks& tasks) {
opacityCoefficient = 0;
}
_opacityCoefficient = opacityCoefficient;
_opacityCoefficient = opacityCoefficient * opacity();
ghoul_assert(
_opacityCoefficient >= 0.f && _opacityCoefficient <= 1.f,
"Opacity coefficient was not between 0 and 1"