diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-08-31 19:13:49 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-09-01 18:28:05 +0300 |
commit | fef1a6c54e74372b863561ad40c1bd5bffef8c38 (patch) | |
tree | 4e5f41667e54aeef16a11809eb5ee3a42219135e /source/blender/io/usd/tests/usd_stage_creation_test.cc | |
parent | f1b10477c28c91f8b29a0ab4a25a149e7f0147db (diff) |
USD: move library initialisation from `main()` to USD module
Initialize the USD library when used (instead of at startup), so that
this can happen inside the IO/USD module. This makes calls to the USD
library local to Blender's USD code.
Note that failure to find the USD JSON files will now only be reported
when the USD exporter is used, and not on every startup of Blender.
This is the first step in cleaning up the way Blender patches and
initialises the USD library.
Manifest Task: https://developer.blender.org/T80320
Diffstat (limited to 'source/blender/io/usd/tests/usd_stage_creation_test.cc')
0 files changed, 0 insertions, 0 deletions