[ImageEngine/cortex] 277ecc: USDScene : Fix crash trying to write to an open stage

0 views
Skip to first unread message

John Haddon

unread,
Sep 16, 2024, 6:06:57 AM9/16/24
to cortex...@googlegroups.com
Branch: refs/heads/RB-10.5
Home: https://github.com/ImageEngine/cortex
Commit: 277ecc8f94f9cf6459e9e26650444ab995b1aad6
https://github.com/ImageEngine/cortex/commit/277ecc8f94f9cf6459e9e26650444ab995b1aad6
Author: John Haddon <thehad...@gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)

Changed paths:
M Changes
M contrib/IECoreUSD/src/IECoreUSD/USDScene.cpp
M contrib/IECoreUSD/test/IECoreUSD/USDSceneTest.py

Log Message:
-----------
USDScene : Fix crash trying to write to an open stage

In this case, `UsdStage::CreateNew()` returns a null result, which we were dereferencing, leading to a crash. We now just throw an exception describing the problem instead.


Commit: ec54e8f906d2ab14a72572a37e9c8e7d83fc776c
https://github.com/ImageEngine/cortex/commit/ec54e8f906d2ab14a72572a37e9c8e7d83fc776c
Author: John Haddon <thehad...@gmail.com>
Date: 2024-09-16 (Mon, 16 Sep 2024)

Changed paths:
M Changes
M contrib/IECoreUSD/src/IECoreUSD/USDScene.cpp
M contrib/IECoreUSD/test/IECoreUSD/USDSceneTest.py

Log Message:
-----------
Merge pull request #1431 from johnhaddon/usdSceneNullFix

USDScene : Fix crash trying to write to an open stage


Compare: https://github.com/ImageEngine/cortex/compare/d9525b8b4cd9...ec54e8f906d2

To unsubscribe from these emails, change your notification settings at https://github.com/ImageEngine/cortex/settings/notifications
Reply all
Reply to author
Forward
0 new messages