From 8ad2642c4717dcfad31626f7eebac325a9827b73 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 13 Dec 2021 16:22:19 +1100 Subject: Cleanup: use "filepath" term for Main, BlendFileData & FileGlobal Use "filepath" which is the current convention for naming full paths. - Main use "name" which isn't obviously a file path. - BlendFileData & FileGlobal used "filename" which is often used for the name component of a path (without the directory). --- source/blender/io/alembic/exporter/abc_archive.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/io/alembic/exporter/abc_archive.cc') diff --git a/source/blender/io/alembic/exporter/abc_archive.cc b/source/blender/io/alembic/exporter/abc_archive.cc index e066704cd24..c070539fc94 100644 --- a/source/blender/io/alembic/exporter/abc_archive.cc +++ b/source/blender/io/alembic/exporter/abc_archive.cc @@ -51,7 +51,7 @@ static MetaData create_abc_metadata(const Main *bmain, double scene_fps) { MetaData abc_metadata; - std::string abc_user_description(bmain->name); + std::string abc_user_description(bmain->filepath); if (abc_user_description.empty()) { abc_user_description = "unknown"; } -- cgit v1.2.3