forked from blender/blender
Move bpy_hydra.export_mtlx() exception handling to C code #28
No reviewers
Labels
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-392_pyerr_catch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Currently we catch all exceptions in
bpy_hydra.export_mtlx()
, because of memory issues.Technical steps
except:
andtraceback.print_exc()
frombpy_hydra.export_mtlx()
.PyErr_Fetch()
insteadPyErr_Print()
to correctly free exception data.Tested. Works good.