Skip to content

Convert Colorize Mask to Paint Layer before splitting layers

Splitting layers on a Colorize Mask continues processing indefinitely, cursor remains in waiting condition till Krita is restarted. Converting to Paint Layer and then splitting however works fast.

So now if user tries to split layers on a Colorize Mask, Krita will automatically convert it to a Paint Layer and split it.

Test Plan

  1. Add a Colorize Mask to a layer
  2. Click on Layer->Split Layers
  3. Krita doesn't hang. Colorize Mask is converted to a Paint Layer with split layers

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.

Merge request reports