https://bugs.kde.org/show_bug.cgi?id=405119
Tymond <tamtamy.tym...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://commits.kde.org/kri | |ta/27947095edb13f17e88e6db3 | |add682ee33345b0b --- Comment #4 from Tymond <tamtamy.tym...@gmail.com> --- Git commit 27947095edb13f17e88e6db3add682ee33345b0b by Agata Cacko. Committed on 11/03/2019 at 18:17. Pushed by tymond into branch 'master'. Fix data loss after flattening the image from inside the group Summary: Before this patch, if the selected layer was inside of a group and user requested flattening of the image, all layers were deleted and no new layer with merged content appeared. This commit makes the new layer with the merged content be created and added to the layers stack. Test Plan: - testing with test file from BUG:404200 both from inside of the group (Layer 2) and outside of the group (Layer 1) - running unit tests added to the project in the patch - merging and unmerging layers in a complex file Reviewers: #krita, rempt Reviewed By: #krita, rempt Subscribers: rempt Tags: #krita Differential Revision: https://phabricator.kde.org/D19593 M +37 -6 libs/image/kis_layer_utils.cpp M +34 -0 libs/image/tests/kis_image_test.cpp https://commits.kde.org/krita/27947095edb13f17e88e6db3add682ee33345b0b -- You are receiving this mail because: You are watching all bug changes.