Skip to content

Draft: BUG:349152 | Create transform mask for clone and file layers when using transform tool

Automatically adds and selects transform mask for clone and file layer when user attempts to use the tool on them.

The mask will be created only when user clicks the canvas, so no accidental masks will be creating by just selecting the tool while mentioned layers are active. Krita will also inform them with msg that those layers can't be transformed directly and that new mask for them was added. User has to click again after first click, which is not ideal but not sure how to go around that for now. Although, it doesn't create big problem for the user it's just less smooth.

Makes !510 obsolete.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!)
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
Edited by Przemysław Gołąb (SirPigeonz)

Merge request reports