EEVEE: Add TODO about code going against design

This commit is contained in:
Clément Foucault
2024-10-10 16:17:53 +02:00
parent a3ce3315a0
commit d8b295bfae

View File

@@ -1182,6 +1182,7 @@ VolumeObjectBounds::VolumeObjectBounds(const Camera &camera, Object *ob)
VolumeLayer *VolumePipeline::register_and_get_layer(Object *ob)
{
/* TODO(fclem): This is against design. Sync shouldn't depend on view properties (camera). */
VolumeObjectBounds object_bounds(inst_.camera, ob);
object_integration_range_ = bounds::merge(object_integration_range_, object_bounds.z_range);