diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-05-29 19:05:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-05-29 19:05:04 +0300 |
commit | c93a88413d1499d43265af9580e993bf8963726d (patch) | |
tree | 3f2e7121d2c6cd62701c2d286e461874acc867b5 /source/blender/io/collada/DocumentExporter.cpp | |
parent | 43853d0528a7a705f1022ad37b95e3b0d8927efd (diff) | |
parent | a86b5df005d0c474de973215b112f404902b2607 (diff) |
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source/blender/io/collada/DocumentExporter.cpp')
-rw-r--r-- | source/blender/io/collada/DocumentExporter.cpp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/source/blender/io/collada/DocumentExporter.cpp b/source/blender/io/collada/DocumentExporter.cpp index b890d4cf018..0578bf45f04 100644 --- a/source/blender/io/collada/DocumentExporter.cpp +++ b/source/blender/io/collada/DocumentExporter.cpp @@ -243,20 +243,13 @@ int DocumentExporter::exportCurrentScene() #ifdef WITH_BUILDINFO BLI_snprintf(version_buf, sizeof(version_buf), - "Blender %d.%02d.%d commit date:%s, commit time:%s, hash:%s", - BLENDER_VERSION / 100, - BLENDER_VERSION % 100, - BLENDER_SUBVERSION, + "Blender %s commit date:%s, commit time:%s, hash:%s", + BKE_blender_version_string(), build_commit_date, build_commit_time, build_hash); #else - BLI_snprintf(version_buf, - sizeof(version_buf), - "Blender %d.%02d.%d", - BLENDER_VERSION / 100, - BLENDER_VERSION % 100, - BLENDER_SUBVERSION); + BLI_snprintf(version_buf, sizeof(version_buf), "Blender %s", BKE_blender_version_string()); #endif asset.getContributor().mAuthoringTool = version_buf; asset.add(); |