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 e468079e authored by Dmitry Kazakov's avatar Dmitry Kazakov

Disable requesting frame cache regeneration when scrubbing the timeline

It was needed when we had no cache pre-generation before
the playback. Now, when we have it, there are big problems
with extra delays when scrubbing.
parent 758e568f
......@@ -232,7 +232,10 @@ bool KisAnimationFrameCache::uploadFrame(int time)
KisOpenGLUpdateInfoSP info = m_d->getFrame(time);
if (!info) {
KisPart::instance()->cachePopulator()->regenerate(this, time);
// Do nothing!
//
// Previously we were trying to start cache regeneration in this point,
// but it caused even bigger slowdowns when scrubbing
} else {
m_d->textures->recalculateCache(info);
}
......
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