Summary: | merging between two flake layers should result a flake layer | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Elián Hanisch <lambdae2> |
Component: | Layers/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | griffinvalley, halla |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/82f9feb5c6010773a6e128e32a21ccf7e78eb9b7 | Version Fixed In: |
Description
Elián Hanisch
2009-02-18 03:40:52 UTC
Ack, full ack. Git commit 82f9feb5c6010773a6e128e32a21ccf7e78eb9b7 by Aleksander Demko. Committed on 01/03/2015 at 20:05. Pushed by ademko into branch 'calligra/2.9'. 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 M +21 -0 krita/image/kis_group_layer.cc M +3 -1 krita/image/kis_group_layer.h M +5 -58 krita/image/kis_image.cc M +66 -0 krita/image/kis_layer.cc M +13 -0 krita/image/kis_layer.h M +51 -0 krita/ui/flake/kis_shape_layer.cc M +10 -0 krita/ui/flake/kis_shape_layer.h http://commits.kde.org/calligra/82f9feb5c6010773a6e128e32a21ccf7e78eb9b7 |