You are here

did group offset plugin also offsets layer's mask?

Hi
I found group offset plugin very useful but I can't force it to offset layer's mask in group. Is this possible or not implemented? Is there possibility to implement this ?
best regards Hubert

it is possible ;P

here is changed "actual action" section.
### actual action ###
else:
mask=pdb.gimp_layer_mask(l)

if (edge == "wrap"):
pdb.gimp_drawable_offset(l, True, 0, xoffset, yoffset)
if (mask!=None):
pdb.gimp_drawable_offset(mask, True, 0, xoffset, yoffset)

if (edge == "bg"):
pdb.gimp_drawable_offset(l, False, 0, xoffset, yoffset)
if (mask!=None):
pdb.gimp_drawable_offset(mask, False, 0, xoffset, yoffset)

if (edge == "trans"):
pdb.gimp_drawable_offset(l, False, 1, xoffset, yoffset)
if (mask!=None):
pdb.gimp_drawable_offset(mask, False, 1, xoffset, yoffset)

Subscribe to Comments for "did group offset  plugin also offsets  layer's mask?"