forked from blender/blender-addons
Fix rendering of Final render for Storm delegate. #17
@ -47,17 +47,10 @@ class StormHydraRenderEngine(bpy_hydra.HydraRenderEngine):
|
||||
'maxLights': settings.max_lights,
|
||||
}
|
||||
|
||||
def update(self, data, depsgraph):
|
||||
# This is empty function because: bl_use_gpu_context = True.
|
||||
# Engine creation and syncing moved to render() function.
|
||||
pass
|
||||
|
||||
def render(self, depsgraph):
|
||||
super().update(None, depsgraph)
|
||||
def _update(self, depsgraph):
|
||||
super()._update(depsgraph)
|
||||
self._sync_usd_stage()
|
||||
|
||||
super().render(depsgraph)
|
||||
|
||||
def view_update(self, context, depsgraph):
|
||||
super().view_update(context, depsgraph)
|
||||
if self.engine_ptr:
|
||||
|
Loading…
Reference in New Issue
Block a user