Commit d556d2d0 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix a crash while cloning an animated layer

Happened due to an uninitialized variable :(

Fixes T986
parent 90ea6851
......@@ -47,9 +47,14 @@
struct Q_DECL_HIDDEN KisPaintLayer::Private
{
public:
Private() : contentChannel(0) {}
KisPaintDeviceSP paintDevice;
QBitArray paintChannelFlags;
// the real pointer is owned by the paint device
KisRasterKeyframeChannel *contentChannel;
KisSignalAutoConnectionsStore onionSkinConnection;
};
......
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