2020.3.1 - unprotected throw std::runtime_error in fbxlayer.h
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In 2020.3.1 and also 2020.0.1, but wasn't in 2016.1.2 (didn't check any other versions)
scene/geometry/fbxlayer.h has unprotected throw std::runtime_error in a couple of places.
Compare that to core/base/fbxarray.h which defines FBX_THROW(x) as either throw std::runtime_error or FBX_ASSERT_NOW depending on whether THROW_EXCEPTIONS is defined or not and uses FBX_THROW.
It'd be nice to treat this consistently and use the same FBX_THROW macro in fbxlayer.h.
Thanks. Would have reported as a bug via this URL on the FBX product page:
http://download.autodesk.com/us/support/report_a_bug.html?SelProduct=FBX
Except that takes me to a Product Feedback page which requires the selection of a product and FBX is not listed as a selectable product.
Link copied