Revision 8e65448...
Go back to digest for 20th November 2011Bug Fixes in Office
Dmitry Kazakov committed changes in [calligra] /ui/canvas:
Fixed lines appearing on a canvas on non-integer zooms
This happens because for scaling we may need some areas outside
current update rect. And these external areas may not be prepared yet
by other threads. So our current thread reads empty (not-yet-updated)
areas and uses them for scaling. This causes while lines.
Now the problem is solved like it is solved in
KisLayer::needRect/changeRect. The update, updates it's own rect, and
small adjoining areas around which depent on it, that may be called
"changeRect". Then the patch (KisImagePatch) requests even more pixels
to make the scaling right (that may be called "needRect").
File Changes
Modified 2 files
- /ui/canvas
- krita/kis_image_patch.h
- krita/kis_prescaled_projection.cpp
2 files changed in total