10-11-2024, 03:39 PM
(This post was last modified: 10-11-2024, 03:49 PM by vitforlinux.)
NOW WORKS correctly in 2.10 and 2.99.19!!!
(updated file)
I found suggestions in this scm folder for Gimp 2.99... written by experts.
https://gitlab.gnome.org/GNOME/gimp/-/tr...type=heads
(updated file)
I found suggestions in this scm folder for Gimp 2.99... written by experts.
https://gitlab.gnome.org/GNOME/gimp/-/tr...type=heads
Code:
(if (= (string->number (substring (car(gimp-version)) 0 3)) 2.10)
(begin (gimp-edit-copy ShadowLayer)
(gimp-floating-sel-anchor (car (gimp-edit-paste ShadowMask TRUE))))
(begin (gimp-edit-copy 1 (vector ShadowLayer))
(let* (
(pasted (gimp-edit-paste ShadowMask FALSE))
(num-pasted (car pasted))
(floating-sel (aref (cadr pasted) (- num-pasted 1)))
)
(gimp-floating-sel-anchor floating-sel)
)))