Applied modified version of first patch for bug #642939.
Original patch supplied by Nelson A. de Oliveira. Modified to not use the -1 "insanity" for invalid/none layer ID's in scripts per IRC discussion.
This commit is contained in:
@ -112,15 +112,7 @@
|
||||
(= remove-bg TRUE)
|
||||
(= separate-layer TRUE))
|
||||
(begin
|
||||
(gimp-by-color-select
|
||||
active-layer
|
||||
'(0 0 0)
|
||||
15
|
||||
2
|
||||
TRUE
|
||||
FALSE
|
||||
10
|
||||
FALSE)
|
||||
(gimp-image-select-color image CHANNEL-OP-REPLACE active-layer '(0 0 0))
|
||||
(gimp-edit-clear active-layer)))
|
||||
|
||||
(if (= keep-selection FALSE)
|
||||
|
||||
Reference in New Issue
Block a user