diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-31 18:22:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-31 18:22:08 +0100 |
| commit | d53fe6a7bb1d4934fb55b3fa9af0469a777c8091 (patch) | |
| tree | 493af709732c5ee5e3202a37b5f69ecfe71ea400 /src | |
| parent | ebcc22dc9db55f762f35b9c408163df847ba804f (diff) | |
Fix failure to write XML for a VF DCP.
This would break e.g. the DoM editor when trying to edit VFs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dcp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |
