https://bugs.kde.org/show_bug.cgi?id=445265

Eoin O'Neill <eoinoneill1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/014f33b51 |hics/krita/commit/f7bd2832f
                   |7fe4b8b83e518dbd7445bf1e9cf |3414f4222f1f0e8812dbf8919b4
                   |7e4c                        |579b

--- Comment #3 from Eoin O'Neill <eoinoneill1...@gmail.com> ---
Git commit f7bd2832f3414f4222f1f0e8812dbf8919b4579b by Eoin O'Neill.
Committed on 11/11/2021 at 03:58.
Pushed by eoinoneill into branch 'krita/5.0'.

Fix caching bug when scrubbing from cached to uncached frame.

An optimization to prevent unnecessary refreshes was causing a
regression. Since scrubbing on cached frames doesn't trigger a
time change, but uncached frames do, an optimization where
we check if the last frame and the current frame exist within
the same "timeframe" would lock users out from seeing the
uncached frames properly when scrubbing.

We now force at least one time switch call when switching from
uncached to cached frames to prevent this issue. Now, it will
properly recognize that the last frame and the 'current frame'
are different and refresh their contents.
(cherry picked from commit 014f33b517fe4b8b83e518dbd7445bf1e9cf7e4c)

M  +23   -6    plugins/dockers/animation/KisTimeBasedItemModel.cpp
M  +1    -0    plugins/dockers/animation/KisTimeBasedItemModel.h

https://invent.kde.org/graphics/krita/commit/f7bd2832f3414f4222f1f0e8812dbf8919b4579b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to