14.22: effects, text and shapes outlast size changes and adjustments
This commit is contained in:
17 files changed
+226
-38
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user