Commit 5d17bdad authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix regeneration of frames when ROI is disabled

Without this change the cache was recalculated every
single time the user started playback :)
parent e13e8f4e
......@@ -346,7 +346,7 @@ void KisAnimationPlayer::play()
const QRect regionOfInterest =
cfg.useAnimationCacheRegionOfInterest() && maxImageDimension > dimensionLimit ?
m_d->canvas->regionOfInterest() :
QRect();
m_d->canvas->coordinatesConverter()->imageRectInImagePixels();
const QRect minimalNeedRect =
m_d->canvas->coordinatesConverter()->widgetRectInImagePixels().toAlignedRect() &
......
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