Fix warning in console for HdStorm in preview render #27

Merged
Bogdan Nagirniak merged 1 commits from DagerD/blender-addons:BLEN-484 into storm-hydra-addon 2023-08-03 19:27:29 +02:00

View File

@ -26,7 +26,7 @@ class StormHydraRenderEngine(bpy.types.HydraRenderEngine):
'maxLights': settings.max_lights, 'maxLights': settings.max_lights,
} }
if engine_type == 'FINAL': if engine_type != 'VIEWPORT':
result |= { result |= {
'aovToken:Combined': "color", 'aovToken:Combined': "color",
'aovToken:Depth': "depth", 'aovToken:Depth': "depth",