[gimp] Porting to new API: add-[layer|channel] > insert-[layer|channel]
- From: Alexandre Prokoudine <aprokoudine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Porting to new API: add-[layer|channel] > insert-[layer|channel]
- Date: Mon, 27 Sep 2010 23:44:49 +0000 (UTC)
commit 9f2f17851c53f9317dce4d92f60c75647ee05439
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date: Tue Sep 28 03:44:30 2010 +0400
Porting to new API: add-[layer|channel] > insert-[layer|channel]
plug-ins/script-fu/scripts/difference-clouds.scm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/script-fu/scripts/difference-clouds.scm b/plug-ins/script-fu/scripts/difference-clouds.scm
index 3247c02..3a5082f 100644
--- a/plug-ins/script-fu/scripts/difference-clouds.scm
+++ b/plug-ins/script-fu/scripts/difference-clouds.scm
@@ -38,7 +38,7 @@
(gimp-image-undo-group-start image)
; Add the cloud layer above the current layer
- (gimp-image-add-layer image diff-clouds -1)
+ (gimp-image-insert-layer image diff-clouds -1 -1)
; Clear the layer (so there are no noise in it)
(gimp-drawable-fill diff-clouds TRANSPARENT-FILL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]