Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5f83f8aa authored by Boudewijn Rempt's avatar Boudewijn Rempt

keep the top layer's name, for animtim

parent 3249ad01
......@@ -924,7 +924,7 @@ KisLayerSP KisImage::mergeDown(KisLayerSP layer, const KisMetaData::MergeStrateg
gc.bitBlt(layerProjectionExtent.topLeft(), layer->projection(), layerProjectionExtent);
}
KisPaintLayerSP mergedLayer = new KisPaintLayer(this, layer->name(), OPACITY_OPAQUE_U8, mergedDevice);
KisPaintLayerSP mergedLayer = new KisPaintLayer(this, prevLayer->name(), OPACITY_OPAQUE_U8, mergedDevice);
Q_CHECK_PTR(mergedLayer);
mergedLayer->setCompositeOp(COMPOSITE_OVER);
mergedLayer->setChannelFlags(layer->channelFlags());
......
Markdown is supported
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