Revision 8bcfadf...

Go back to digest for 29th December 2013

Bug Fixes in Office

Dmitry Kazakov committed changes in [calligra/calligra/2.8] /:

Remove an assert when switching a tool while doing a stroke

Well, using macro for this purpose might be a bit ugly, but this is the
best thing we can do until we invent some strategy-based event handling
for the tools.

Ideally, every tool should provide a set of strategies for each of the
action. Such strategy could be registered in the tool proxy on
KisTool::activate() and deregistered on KisTool::deactivate(). But we
are on a long way till that.

File Changes

Modified 13 files
  •   krita/ui/tool/kis_tool.h
  •   krita/ui/tool/kis_tool_freehand.cc
  •   krita/ui/tool/kis_tool_polyline_base.cpp
  •   krita/ui/tool/kis_tool_rectangle_base.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_line.cc
  •   krita/plugins/tools/defaulttools/kis_tool_measure.cc
  •   krita/plugins/tools/defaulttools/kis_tool_move.cc
  •   krita/plugins/tools/selectiontools/kis_tool_select_brush.cc
  •   krita/plugins/tools/selectiontools/kis_tool_select_outline.cc
  •   krita/plugins/tools/tool_crop/kis_tool_crop.cc
13 files changed in total