Bug 248680

Summary: transform worker does not clear pixels
Product: [Applications] krita Reporter: Halla Rempt <halla>
Component: Tools/TransformAssignee: Marc Pegon <pe.marc>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Halla Rempt 2010-08-22 10:39:33 UTC
When using the transform worker to create a transform that results in a smaller area than the original image, the remaining pixels are only set to transparent, not to the default pixel or cleared. This leads to incorrect exactBounds calculations. Run the KisTransformWorkerTest with the image generation code uncommented to see the effect: it makes all pixels of the result 50% transparent, and presto: the original pixels are visible.