EEVEE: Add TODO about code going against design
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user