ucupaint icon indicating copy to clipboard operation
ucupaint copied to clipboard

Add layer mask duplication operator

Open BittieByte opened this issue 7 months ago • 1 comments

Initial version of the layer mask duplication operator. The feature is currently functional but incomplete.

Known issues:

  • Duplicate creates a new decal object instead of reusing the original source.
  • Duplicated mask is not inserted directly below the original.
  • Some properties such as transform values, intensity, and modifiers are not yet copied.

CLOSES #153

BittieByte avatar May 16 '25 12:05 BittieByte

Oh yeah, I don't realize that you can just create a new mask with all properties copied from the original mask. I thought duplicating a mask is similar to duplicating a layer, which actually copies the node manually. Okay, I'll test this later. Thanks for the PR! 👍

ucupumar avatar May 16 '25 15:05 ucupumar