Alembic export: write Blender version to Alembic file
This is written in a custom metadata key, so it isn't shown by utilities like abcecho or abcls. However, it's still something that's useful to have available.
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
|
||||
#include "abc_archive.h"
|
||||
|
||||
#include "BKE_blender_version.h"
|
||||
|
||||
#ifdef WIN32
|
||||
# include "utfconv.h"
|
||||
#endif
|
||||
@@ -143,6 +145,7 @@ static OArchive create_archive(std::ostream *ostream,
|
||||
{
|
||||
md.set(Alembic::Abc::kApplicationNameKey, "Blender");
|
||||
md.set(Alembic::Abc::kUserDescriptionKey, scene_name);
|
||||
md.set("blender_version", versionstr);
|
||||
|
||||
time_t raw_time;
|
||||
time(&raw_time);
|
||||
|
||||
Reference in New Issue
Block a user