[gimp] script-fu: port two scripts to gimp-edit-paste-as-new-image
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] script-fu: port two scripts to gimp-edit-paste-as-new-image
- Date: Tue, 20 Sep 2016 18:23:48 +0000 (UTC)
commit 754b9a849cca0c5439f93af1bd419983549097c7
Author: Michael Natterer <mitch gimp org>
Date: Tue Sep 20 20:23:04 2016 +0200
script-fu: port two scripts to gimp-edit-paste-as-new-image
plug-ins/script-fu/scripts/paste-as-brush.scm | 2 +-
plug-ins/script-fu/scripts/paste-as-pattern.scm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/script-fu/scripts/paste-as-brush.scm b/plug-ins/script-fu/scripts/paste-as-brush.scm
index 19a3a49..544d813 100644
--- a/plug-ins/script-fu/scripts/paste-as-brush.scm
+++ b/plug-ins/script-fu/scripts/paste-as-brush.scm
@@ -20,7 +20,7 @@
(define (script-fu-paste-as-brush name filename spacing)
- (let* ((brush-image (car (gimp-edit-paste-as-new)))
+ (let* ((brush-image (car (gimp-edit-paste-as-new-image)))
(brush-draw 0)
(type 0)
(path 0))
diff --git a/plug-ins/script-fu/scripts/paste-as-pattern.scm b/plug-ins/script-fu/scripts/paste-as-pattern.scm
index 4188e10..36b51bf 100644
--- a/plug-ins/script-fu/scripts/paste-as-pattern.scm
+++ b/plug-ins/script-fu/scripts/paste-as-pattern.scm
@@ -19,7 +19,7 @@
(define (script-fu-paste-as-pattern name filename)
- (let* ((pattern-image (car (gimp-edit-paste-as-new)))
+ (let* ((pattern-image (car (gimp-edit-paste-as-new-image)))
(pattern-draw 0)
(path 0))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]