Fix rendering of Final render for Storm delegate. #17

Merged
Bogdan Nagirniak merged 2 commits from BLEN-437 into storm-hydra-addon 2023-07-13 00:57:37 +02:00
Showing only changes of commit b6ffb55c16 - Show all commits

View File

@ -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: