diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-01-31 12:24:28 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-01-31 13:29:29 +0300 |
commit | 14ccda75f6313849c5b4376f7e74def24084782e (patch) | |
tree | f2bc3367d202548927623781e9b8e56e68d0b307 /source/blender/usd/usd.h | |
parent | bcacf47cbcf72d13773577543835aaada7c8a522 (diff) |
USD: Include USD library version in System Info
Pixar recently released USD 20.02 [1]. I think it's important for people
to be able to figure out which version of the USD library is used in
Blender.
[1] https://github.com/PixarAnimationStudios/USD/releases/tag/v20.02
This commit exposes the USD library information via `bpy.app.usd`, and
includes that info in the `system-info.txt` saved via Help → Save System
Info.
Reviewed by: brecht
Differential Revision: https://developer.blender.org/D6724
Diffstat (limited to 'source/blender/usd/usd.h')
-rw-r--r-- | source/blender/usd/usd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/usd/usd.h b/source/blender/usd/usd.h index c8e559c59f5..8a5575d53cf 100644 --- a/source/blender/usd/usd.h +++ b/source/blender/usd/usd.h @@ -54,6 +54,8 @@ bool USD_export(struct bContext *C, const struct USDExportParams *params, bool as_background_job); +int USD_get_version(void); + #ifdef __cplusplus } #endif |