Fix compile error in KRLight.

This commit is contained in:
2025-11-25 21:11:37 -08:00
parent a4c8b77f3a
commit 79c181b221

View File

@@ -293,7 +293,7 @@ void KRLight::render(RenderInfo& ri)
if (sphereModel) {
Matrix4 occlusion_test_sphere_matrix = Matrix4();
occlusion_test_sphere_matrix.scale(m_localScale * m_flareOcclusionSize);
occlusion_test_sphere_matrix.scale(m_localScale.val * m_flareOcclusionSize);
occlusion_test_sphere_matrix.translate(m_localTranslation);
if (m_parentNode) {
occlusion_test_sphere_matrix *= m_parentNode->getModelMatrix();