Fix #147846: Cycles: Viewport not updating when changing global step rate

Should also update when the global multiplier changes

Pull Request: https://projects.blender.org/blender/blender/pulls/147968
This commit is contained in:
Weizhen Huang
2025-10-13 12:14:48 +02:00
committed by Weizhen Huang
parent 07ccb021d2
commit 0b0ea916ff

View File

@@ -1104,7 +1104,9 @@ void VolumeManager::update_step_size(const Scene *scene, DeviceScene *dscene) co
{
assert(scene->integrator->get_volume_ray_marching());
if (!dscene->volume_step_size.is_modified() && last_algorithm == RAY_MARCHING) {
if (!dscene->volume_step_size.is_modified() &&
!scene->integrator->volume_step_rate_is_modified() && last_algorithm == RAY_MARCHING)
{
return;
}