From af221d6d816ea8dd4e55d44974a35c330b73fc5c Mon Sep 17 00:00:00 2001 From: Vsevolod Kremianskii Date: Tue, 4 May 2021 14:25:55 +0700 Subject: [PATCH] Enable dynamic lighting of non-lightmapped area models --- src/scene/node/modelnodescenenode.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/scene/node/modelnodescenenode.cpp b/src/scene/node/modelnodescenenode.cpp index 516f1770..78841ef1 100644 --- a/src/scene/node/modelnodescenenode.cpp +++ b/src/scene/node/modelnodescenenode.cpp @@ -206,9 +206,6 @@ bool ModelNodeSceneNode::isTransparent() const { } static bool isLightingEnabledByUsage(ModelUsage usage) { - if (usage == ModelUsage::Room) { - return isFeatureEnabled(Feature::DynamicRoomLighting); - } return usage != ModelUsage::Projectile; }