Revision d6554e8...

Go back to digest for 22nd June 2014

Features in Office

Dmitry Kazakov committed changes in [calligra] /:

[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.

File Changes

Modified 13 files
  •   krita/ui/tool/kis_resources_snapshot.cpp
  •   krita/ui/tool/kis_resources_snapshot.h
  •   krita/ui/tool/kis_tool.cc
  •   krita/ui/tool/kis_tool.h
  •   krita/ui/tool/kis_tool_paint.cc
  •   krita/ui/tool/kis_tool_utils.cpp
  •   krita/plugins/tools/defaulttools/kis_tool_colorpicker.cc
  •   krita/plugins/tools/defaulttools/kis_tool_fill.cc
  •   krita/plugins/tools/defaulttools/kis_tool_gradient.cc
  •   krita/plugins/tools/defaulttools/kis_tool_move.cc
  •   krita/plugins/tools/tool_crop/kis_tool_crop.cc
  •   krita/plugins/tools/tool_transform2/kis_tool_transform.cc
  •   krita/ui/tool/strokes/kis_painter_based_stroke_strategy.cpp
13 files changed in total