[krita] [Bug 441350] Brushes works wrong, after selecting another pattern and reselecting the original one, they works like the should

Dmitry Kazakov bugzilla_noreply at kde.org
Mon Dec 6 15:16:42 GMT 2021


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

Dmitry Kazakov <dimula73 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/783e05103 |hics/krita/commit/d1d9e8f54
                   |1e4ddac279960d2332225a57ac7 |f874316709497e20a7f56994f20
                   |a408                        |c9d5

--- Comment #17 from Dmitry Kazakov <dimula73 at gmail.com> ---
Git commit d1d9e8f54f874316709497e20a7f56994f20c9d5 by Dmitry Kazakov.
Committed on 06/12/2021 at 15:16.
Pushed by dkazakov into branch 'master'.

Fix embedded resources to appear in the resource model

All the code that manipuilates resources in Krita is expected to do that
via KisResourceModel. It guarantees that the internal model indexes are
valid and up-to-date.

Though we have one notable exception, that is, embedded resources. They
are loaded by KisResourceLocator internally, when some uncached resource
is loaded. In such a case the model should be notified to update its
query.

M  +3    -0    libs/resources/KisResourceLocator.cpp
M  +6    -0    libs/resources/KisResourceLocator.h
M  +18   -0    libs/resources/KisResourceModel.cpp
M  +17   -0    libs/resources/KisResourceModel.h

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

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



More information about the kde-mac mailing list