Revert some changes from #3389 that are not relevant for world units
This commit is contained in:
@@ -1013,7 +1013,7 @@ bool UpdateFoliageDensityScaling(Actor* actor)
|
||||
void Foliage::SetGlobalDensityScale(float value)
|
||||
{
|
||||
value = Math::Saturate(value);
|
||||
if (value == GlobalDensityScale)
|
||||
if (Math::NearEqual(value, GlobalDensityScale))
|
||||
return;
|
||||
|
||||
PROFILE_CPU();
|
||||
|
||||
Reference in New Issue
Block a user