Support more AOVs #23

Merged
Bogdan Nagirniak merged 4 commits from DagerD/blender-addons:BLEN-461 into storm-hydra-addon 2023-07-29 14:58:37 +02:00
2 changed files with 3 additions and 5 deletions
Showing only changes of commit ac9117a031 - Show all commits

View File

@ -4,10 +4,8 @@
# <pep8 compliant>
import bpy
import bpy_hydra
class StormHydraRenderEngine(bpy_hydra.HydraRenderEngine):
class StormHydraRenderEngine(bpy.types.HydraRenderEngine):
bl_idname = 'HYDRA_STORM'
bl_label = "Hydra Storm"
bl_info = "USD's high performance rasterizing renderer"
@ -15,7 +13,7 @@ class StormHydraRenderEngine(bpy_hydra.HydraRenderEngine):
bl_use_preview = True
bl_use_gpu_context = True
delegate_id = 'HdStormRendererPlugin'
bl_delegate_id = 'HdStormRendererPlugin'
def get_render_settings(self, engine_type):
settings = bpy.context.scene.hydra_storm.viewport if engine_type == 'VIEWPORT' else \

View File

@ -149,7 +149,7 @@ class STORM_HYDRA_LIGHT_PT_light(Panel):
main_col.prop(light, 'size')
class STORM_HYDRA_RENDER_PT_film(bpy.types.Panel):
class STORM_HYDRA_RENDER_PT_film(Panel):
bl_label = "Film"
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'