script-fu: Use gimp-image-select-item instead of gimp-item-to-selection
gimp-item-to-selection does not seem to exist (in the PDB), so update to the correct function gimp-image-select-item (which also takes the image as a parameter).
This commit is contained in:
@ -146,7 +146,7 @@
|
||||
|
||||
(if (= from-selection TRUE)
|
||||
(begin
|
||||
(gimp-item-to-selection active-selection CHANNEL-OP-REPLACE)
|
||||
(gimp-image-select-item image CHANNEL-OP-REPLACE active-selection)
|
||||
(gimp-edit-clear shadow-layer)
|
||||
(gimp-image-remove-channel image active-selection)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user