using pdb.gimp_layer_set_mode(layer,5) which should set layermode to OVERLAY always sets it to SOFTLIGHT instead
GIMP version: 2.10.6
Operating System: Linux (Ubuntu)
Package: [flatpak? Installer from gimp.org? If another installer, tell us where from] flatpak
Description of the bug
When calling from python fu (.py script) to change layer mode to overlay, it always sets the layer mode to softlight Please describe your issue with details. Add screenshot or other files if needed.
Reproduction
Is the bug reproducible? [Always / Randomly / Happened only once ] Always. Reproduction steps:
- use
pdb.gimp_layer_set_mode(layer,5) #5 is OVERLAY MODE
in any script to change mode of a layer - the result is that it'll be set as SOFT LIGHT mode in the front end.
- Happens all the time.
…
Expected result: is that the layer should be OVERLAY MODE
Actual result: SOFT LIGHT MODE
Additional information
If you have a backtrace for a crash or a warning, paste it here.