Commit 0ac2f742 authored by Dmitry Kazakov's avatar Dmitry Kazakov Committed by Halla Rempt
Browse files

Remove a spurious assert in layer cloning

Not having a layer style projection plane is a
normal situation when the style is empty

parent 7de91a76
......@@ -180,8 +180,6 @@ KisLayer::KisLayer(const KisLayer& rhs)
if (rhs.m_d->layerStyle) {
m_d->layerStyle = rhs.m_d->layerStyle->clone();
if (rhs.m_d->layerStyleProjectionPlane) {
m_d->layerStyleProjectionPlane = toQShared(
new KisLayerStyleProjectionPlane(*rhs.m_d->layerStyleProjectionPlane,
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