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

--- Comment #2 from Tiar <tamtamy.tym...@gmail.com> ---
Git commit a2e402e02ce5cad685d4bf3fc6a3f55c27c34ff4 by Agata Cacko.
Committed on 22/09/2021 at 11:57.
Pushed by tymond into branch 'master'.

Fix assistants preview vs drawn assistant

Before this commit, some (especially new) assistants were confused
what is the preview (which can be disabled with View -> Show
Assistants Preview) and what is the assistant itself
(which can be disabled with View -> Show Painting Assistants).
This commit fixes it for three assistants:
- Parallel Ruler
- Vanishing Point
- Two Point Assistant

Previews: all moving parts (dependant on the mouse position)
Assistants: all static parts (independant on the mouse position)

Note that Two Point and Vanishing Point assistants don't use
much of drawCache and most of the assistant is drawn in the
drawAssistant() function. This most probably means lower
performance and it should probably be fixed by moving
drawing the static parts of the assistants into the drawCache()
function.
Related: bug 442102

M  +2    -2    plugins/assistants/Assistants/ParallelRulerAssistant.cc
M  +9    -7    plugins/assistants/Assistants/TwoPointAssistant.cc
M  +20   -17   plugins/assistants/Assistants/VanishingPointAssistant.cc

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

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

Reply via email to