forked from blender/blender-addons
Refactoring of Storm Hydra render addon #13
@ -19,12 +19,6 @@ class StormHydraRenderEngine(bpy_hydra.HydraRenderEngine):
|
|||||||
|
|
||||||
delegate_id = 'HdStormRendererPlugin'
|
delegate_id = 'HdStormRendererPlugin'
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def register(cls):
|
|
||||||
super().register()
|
|
||||||
|
|
||||||
bpy_hydra.register_plugins([str(Path(__file__).parent / "plugin")])
|
|
||||||
|
|
||||||
def get_render_settings(self, engine_type):
|
def get_render_settings(self, engine_type):
|
||||||
settings = bpy.context.scene.hydra_storm.viewport if engine_type == 'VIEWPORT' else \
|
settings = bpy.context.scene.hydra_storm.viewport if engine_type == 'VIEWPORT' else \
|
||||||
bpy.context.scene.hydra_storm.final
|
bpy.context.scene.hydra_storm.final
|
||||||
|
Loading…
Reference in New Issue
Block a user