Summary: | Brush Presets with a pattern are always marked as 'dirty' | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Ahab Greybeard <ahab.greybeard> |
Component: | Resource Management | Assignee: | Tiar <tamtamy.tymona> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | halla, rjquiralte, tamtamy.tymona |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian stable | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/26d44c9842ae4ef54034fa8d57107c8a5140531b | Version Fixed In: | |
Sentry Crash Report: |
Description
Ahab Greybeard
2019-04-11 07:42:04 UTC
I can confirm this behavior on the git master branch too. Built on a arch machine with all packages up to date. Git commit e98daba8c8feb930fdc4c61c8891ae97cd75f7fa by Agata Cacko. Committed on 12/09/2019 at 14:27. Pushed by tymond into branch 'master'. Fix presets with random offset of texture marked dirty Before this commit, if a preset had at least one random offset (X or Y) in texture settings (and texture enabled), it was marked dirty as soon as the user used this brush on the canvas. That was happenning because random offset just means that the offset of the texture is set to a new random one after every stroke. Setting a property to a new value marked preset as dirty. This commit ensures that in this case te preset is not set to dirty (it just disables dirty notifications while the new offset is set). M +3 -1 libs/image/brushengine/kis_paintop_settings.cpp https://invent.kde.org/kde/krita/commit/e98daba8c8feb930fdc4c61c8891ae97cd75f7fa Git commit 26d44c9842ae4ef54034fa8d57107c8a5140531b by Agata Cacko. Committed on 14/09/2019 at 15:25. Pushed by tymond into branch 'krita/4.2'. Fix presets with random offset of texture marked dirty Before this commit, if a preset had at least one random offset (X or Y) in texture settings (and texture enabled), it was marked dirty as soon as the user used this brush on the canvas. That was happenning because random offset just means that the offset of the texture is set to a new random one after every stroke. Setting a property to a new value marked preset as dirty. This commit ensures that in this case te preset is not set to dirty (it just disables dirty notifications while the new offset is set). M +3 -1 libs/image/brushengine/kis_paintop_settings.cpp https://invent.kde.org/kde/krita/commit/26d44c9842ae4ef54034fa8d57107c8a5140531b |