UsdMayaPrimWriter::Write should return bool indicating success or failure? #3491
Unanswered
jjzanin-SMS
asked this question in
Ideas
Replies: 1 comment
-
Thank you for this suggestion. Sorry it took so long to respond. We'll discuss this internally. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We have many custom prim writers that inherit from
UsdMayaPrimWriter
and when there is an error during theWrite
function, we would like the export to fail. I propose that theUsdMayaPrimWriter::Write
function returns a boolean indicating success or failure. When false is returned, the calling code returns and propagates the failure. TheUsdMayaPrimWriter::PostExport
could benefit from this as well.Beta Was this translation helpful? Give feedback.
All reactions