Fix #130054: HDRI Preview rendering black if no visible mesh is in the scene
Ensure the probes views are set. Pull Request: https://projects.blender.org/blender/blender/pulls/130190
This commit is contained in:
@@ -268,6 +268,10 @@ void LookdevModule::draw(View &view)
|
||||
if (!enabled_) {
|
||||
return;
|
||||
}
|
||||
|
||||
inst_.volume_probes.set_view(view);
|
||||
inst_.sphere_probes.set_view(view);
|
||||
|
||||
for (Sphere &sphere : spheres_) {
|
||||
sphere.framebuffer.bind();
|
||||
inst_.manager->submit(sphere.pass, view);
|
||||
|
||||
Reference in New Issue
Block a user