diff --git a/kraken/nodes/KRLight.cpp b/kraken/nodes/KRLight.cpp index 664b7b3..bd5e9df 100755 --- a/kraken/nodes/KRLight.cpp +++ b/kraken/nodes/KRLight.cpp @@ -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();