Fix: EEVEE: Better description light probe reduced size message

When the light volume probe cannot be allocated a pool of a different
size is used. A message is displayed to the user. This PR improves the
message by adding the previous size as well.

Ref #129889

Pull Request: https://projects.blender.org/blender/blender/pulls/129963
This commit is contained in:
Jeroen Bakker
2024-11-07 14:42:55 +01:00
parent 5cdaa7b0f0
commit 8887a5ed71

View File

@@ -77,10 +77,10 @@ void VolumeProbeModule::init()
}
}
}
if (irradiance_pool_size_alloc_ != irradiance_pool_size_) {
inst_.info_append_i18n(
"Warning: Light probes volume pool could not be allocated. Now using a pool of {} MB.",
"Warning: Could not allocate light probes volume pool of {} MB, using {} MB instead.",
irradiance_pool_size_,
irradiance_pool_size_alloc_);
}