forked from blender/blender-addons
Create possibility to provide render settings via BlenderSceneDelegate. #12
@ -25,7 +25,7 @@ class StormHydraRenderEngine(bpy_hydra.HydraRenderEngine):
|
|||||||
|
|
||||||
bpy_hydra.register_plugins([str(Path(__file__).parent / "plugin")])
|
bpy_hydra.register_plugins([str(Path(__file__).parent / "plugin")])
|
||||||
|
|
||||||
def get_delegate_settings(self, engine_type):
|
def get_render_settings(self, engine_type):
|
||||||
settings = bpy.context.scene.hydra_storm
|
settings = bpy.context.scene.hydra_storm
|
||||||
return {
|
return {
|
||||||
'enableTinyPrimCulling': settings.enable_tiny_prim_culling,
|
'enableTinyPrimCulling': settings.enable_tiny_prim_culling,
|
||||||
|
Loading…
Reference in New Issue
Block a user