Changed paths:
M Changes
M contrib/IECoreUSD/src/IECoreUSD/VolumeAlgo.cpp
M contrib/IECoreUSD/test/IECoreUSD/USDSceneTest.py
A contrib/IECoreUSD/test/IECoreUSD/data/volumeWithEmptyField.usda
If an attribute has no value, `DataAlgo::fromUSD()` returns `nullptr`, and we were dereferencing it. We could probably still use a `static_cast` here as long as we checked for null, since we don't expect anything but StringData when non-null. But since I failed to predict this outcome, I've gone belt-and-braces and used a `runTimeCast()`.
Changed paths:
M Changes
M contrib/IECoreUSD/src/IECoreUSD/VolumeAlgo.cpp
M contrib/IECoreUSD/test/IECoreUSD/USDSceneTest.py
A contrib/IECoreUSD/test/IECoreUSD/data/volumeWithEmptyField.usda
Log Message:
-----------
Merge pull request #1435 from johnhaddon/usdVolumeFix