14.22: effects, text and shapes outlast size changes and adjustments

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 12:03:49 -04:00
1 parent bafb07978a
commit e8b74c6e47
17 files changed
+226 -38

No files matched your search

+1 -2
View File
@@ -361,9 +361,8 @@ void EditorSession::finishLevelsCommit()
beginEdit(QStringLiteral("Levels"));
ImageLayer layer = current;
layer.asset = made.asset;
// Swift rebuilds the layer without shape, effects and text.
// Swift rebuilds the layer without shape and text.
layer.shape = std::nullopt;
layer.effects = std::nullopt;
layer.text = std::nullopt;
m_document->layers[index] = layer;
endEdit();