Fix crash when hydra render plugin isn't loaded #60

Merged
Bogdan Nagirniak merged 1 commits from BLEN-443 into hydra-render 2023-07-04 10:22:36 +02:00

Purpose

Render engine crashes when hydra render delegate isn't loaded.

Technical steps

Added throw to Engine creation when render_delegate_ wasn't created.
Added corresponding error logging in python.cc.
Adjusted bpy_hydra.py.

### Purpose Render engine crashes when hydra render delegate isn't loaded. ### Technical steps Added `throw` to `Engine` creation when `render_delegate_ ` wasn't created. Added corresponding error logging in `python.cc`. Adjusted `bpy_hydra.py`.
Bogdan Nagirniak self-assigned this 2023-07-02 18:20:07 +02:00
Brian Savery (AMD) was assigned by Bogdan Nagirniak 2023-07-02 18:20:07 +02:00
Georgiy Markelov was assigned by Bogdan Nagirniak 2023-07-02 18:20:07 +02:00
Vasyl Pidhirskyi was assigned by Bogdan Nagirniak 2023-07-02 18:20:07 +02:00
Bogdan Nagirniak added 1 commit 2023-07-02 18:20:24 +02:00
Bogdan Nagirniak requested review from Brian Savery (AMD) 2023-07-02 18:20:32 +02:00
Bogdan Nagirniak requested review from Georgiy Markelov 2023-07-02 18:20:32 +02:00
Bogdan Nagirniak requested review from Vasyl Pidhirskyi 2023-07-02 18:20:33 +02:00
Brian Savery (AMD) approved these changes 2023-07-04 00:16:56 +02:00
Georgiy Markelov approved these changes 2023-07-04 10:21:38 +02:00
Georgiy Markelov left a comment
Collaborator

Works fine

Works fine
Bogdan Nagirniak merged commit 0a07bd1424 into hydra-render 2023-07-04 10:22:36 +02:00
Sign in to join this conversation.
No Label
No Milestone
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: BogdanNagirniak/blender#60
No description provided.