With the attached example (bug_158640.zip), run:
USDSKELIMAGING_ENABLE_NORMAL_COMPUTATIONS=1 usdview s0.usda
- In the interpreter, run
usdviewApi.stage.GetRootLayer().subLayerPaths = ["s1.usda"]
- Then, run
usdviewApi.stage.GetRootLayer().subLayerPaths = ["s2.usda"]
This should crash from attempted member lookup on NULL TfWeakPtr<SdfLayer>. Attached is a stack trace
Tested with USD 26.05 and also reproduced with the dev branch (c58778b)
With the attached example (bug_158640.zip), run:
USDSKELIMAGING_ENABLE_NORMAL_COMPUTATIONS=1 usdview s0.usdausdviewApi.stage.GetRootLayer().subLayerPaths = ["s1.usda"]usdviewApi.stage.GetRootLayer().subLayerPaths = ["s2.usda"]This should crash from
attempted member lookup on NULL TfWeakPtr<SdfLayer>. Attached is a stack traceTested with USD 26.05 and also reproduced with the dev branch (c58778b)