summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 31c3e077..40690065 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -505,7 +505,7 @@ DCP::write_xml(
/* The assets may have changed since we read the PKL, so re-add them */
pkl->clear_assets();
- for (auto asset: assets()) {
+ for (auto asset: assets(true)) {
asset->add_to_pkl(pkl, _directory);
}
@@ -527,7 +527,7 @@ DCP::write_xml(
/* The assets may have changed since we read the asset map, so re-add them */
_asset_map->clear_assets();
_asset_map->add_asset(pkl->id(), _directory / pkl_filename, true);
- for (auto asset: assets()) {
+ for (auto asset: assets(true)) {
asset->add_to_assetmap(*_asset_map, _directory);
}