Commit 35a07eb4 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Don't render onion skins on the animation playback cache

parent 82d15cad
......@@ -136,7 +136,11 @@ void KisPaintLayer::copyOriginalToProjection(const KisPaintDeviceSP original,
gc.bitBlt(rect.topLeft(), temporaryTarget(), rect);
}
if (m_d->contentChannel && m_d->contentChannel->keyframeCount() > 1 && onionSkinEnabled()) {
if (m_d->contentChannel &&
m_d->contentChannel->keyframeCount() > 1 &&
onionSkinEnabled() &&
!m_d->paintDevice->defaultBounds()->externalFrameActive()) {
KisOnionSkinCompositor *compositor = KisOnionSkinCompositor::instance();
compositor->composite(m_d->paintDevice, projection, rect);
}
......
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