summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-04-10 22:04:51 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-10 22:04:51 +0200
commitfd271a32fd1ffa1714f067fb3e0dcd0b8b3a1a93 (patch)
tree910b433eaad246e36c97b5d260831ddb233eac99 /src
parentde8987885656e5658eae15e4acd14ed94fc24ec7 (diff)
Add asset ID to THREED_ASSET_MARKED_AS_TWOD.HEADmain
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 4d5be236..c9d1c8e7 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -274,7 +274,7 @@ DCP::read (vector<dcp::VerificationNote>* notes, bool ignore_incorrect_picture_m
}
other_assets.push_back(asset);
if (found_threed_marked_as_twod && notes) {
- notes->push_back({VerificationNote::Code::THREED_ASSET_MARKED_AS_TWOD, path});
+ notes->push_back(dcp::VerificationNote(VerificationNote::Code::THREED_ASSET_MARKED_AS_TWOD, path).set_asset_id(id));
}
} else if (*pkl_type == remove_parameters(FontAsset::static_pkl_type(standard))) {
other_assets.push_back(make_shared<FontAsset>(id, path));