Enable dynamic lighting of non-lightmapped area models
This commit is contained in:
parent
a5b4e81b02
commit
af221d6d81
1 changed files with 0 additions and 3 deletions
|
@ -206,9 +206,6 @@ bool ModelNodeSceneNode::isTransparent() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isLightingEnabledByUsage(ModelUsage usage) {
|
static bool isLightingEnabledByUsage(ModelUsage usage) {
|
||||||
if (usage == ModelUsage::Room) {
|
|
||||||
return isFeatureEnabled(Feature::DynamicRoomLighting);
|
|
||||||
}
|
|
||||||
return usage != ModelUsage::Projectile;
|
return usage != ModelUsage::Projectile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue