Summary: | Color-picker report wrong alpha value | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | animtim |
Component: | Tools | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/d6554e82ff3534f5986c5785edcb5663731ad2cb | Version Fixed In: | |
Sentry Crash Report: |
Description
animtim
2014-06-12 10:07:03 UTC
Actually, I had a patch that gave both options, and lost that :-(. It's definitely something to restore. Git commit d6554e82ff3534f5986c5785edcb5663731ad2cb by Dmitry Kazakov. Committed on 19/06/2014 at 14:46. Pushed by dkazakov into branch 'master'. [FEATURE] Fixed painting and color picking on global selections This patch fixes three problems: 1) Painting on a global selection now is not recursively limited to the selected area of the selection itself. If current node and active selection mask are the same entity, KisResourcesSnapshot will report no selection active. 2) Color Picker can now pick from selection masks. Yes, it converts the color into compositionSourceColorSpace() to make it paintable. 3) The Color Picker's option widget now shows alpha value correctly, although the resource server gets opaque color. CCMAIL:kimageshop@kde.org M +9 -5 krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc M +1 -1 krita/plugins/tools/defaulttools/kis_tool_fill.cc M +9 -9 krita/plugins/tools/defaulttools/kis_tool_gradient.cc M +6 -2 krita/plugins/tools/defaulttools/kis_tool_move.cc M +7 -2 krita/plugins/tools/tool_crop/kis_tool_crop.cc M +11 -4 krita/plugins/tools/tool_transform2/kis_tool_transform.cc M +20 -0 krita/ui/tool/kis_resources_snapshot.cpp M +8 -0 krita/ui/tool/kis_resources_snapshot.h M +7 -14 krita/ui/tool/kis_tool.cc M +0 -3 krita/ui/tool/kis_tool.h M +1 -1 krita/ui/tool/kis_tool_paint.cc M +1 -0 krita/ui/tool/kis_tool_utils.cpp M +1 -7 krita/ui/tool/strokes/kis_painter_based_stroke_strategy.cpp http://commits.kde.org/calligra/d6554e82ff3534f5986c5785edcb5663731ad2cb |