OmaPhoto 1.3.3: version bump, change log, README; steady export failure tests, Hue/Saturation test after 12.14d2, NixOS shell MIME database (12.16)
Release / version (push) Canceled after 0s
Release / deb (ubuntu:24.04, noble) (push) Canceled after 0s
Release / deb (ubuntu:26.04, resolute) (push) Canceled after 0s
Release / rpm (push) Canceled after 0s
Release / arch (push) Canceled after 0s
Release / publish (push) Canceled after 0s

This commit is contained in:
雷电芽衣 committed 2026-09-30 11:32:25 -04:00
1 parent bc9d43f1e8
commit 1904144511
10 files changed
+77 -49

No files matched your search

+2
View File
@@ -9,6 +9,8 @@ std::optional<ProjectSnapshot> EditorSession::projectSnapshot() const
ProjectSnapshot snapshot{.manifest = {.resolution = m_document->resolution, .documentID = m_document->id, .width = m_document->width,
.height = m_document->height, .activeLayerID = m_activeLayerID, .layers = {}},
.images = {}};
// Growing would hold two record lists at once.
snapshot.manifest.layers.reserve(m_document->layers.size());
for (const ImageLayer &layer : m_document->layers) {
if (layer.asset)
snapshot.images.insert({layer.id, *layer.asset});