Skip to content
Commit 82f9feb5 authored by Aleksander Demko's avatar Aleksander Demko
Browse files

BUG:184746 merging between two flake layers should result a flake layer

Added virtual KisLayer::createMergedLayer() and implemented it
for KisShapeLayer and KisGroupLayer. KisImage::mergeDown now
uses this method which now can be overridden by descendants
to specialize merge operations.

This fix seems to work, but I'm not sure if I've missed a corner
case or a use-case. Also, it might be useful to have a KoShape::clone(),
as the current code uses odf pasting to clone shapes, as that's
what the KisShapeLayer copy constructor did.

ccmail:kimageshop@kde.org
parent df946000
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment