[gegl] gluas: improve sample script
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gluas: improve sample script
- Date: Mon, 28 Mar 2016 17:13:05 +0000 (UTC)
commit 74eaec8fbb4377e7fd3db8a3782534ee27e0f405
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Mar 28 18:51:40 2016 +0200
gluas: improve sample script
operations/workshop/external/gluas.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/operations/workshop/external/gluas.c b/operations/workshop/external/gluas.c
index 6414925..de842b9 100644
--- a/operations/workshop/external/gluas.c
+++ b/operations/workshop/external/gluas.c
@@ -24,8 +24,7 @@
#define THRESHOLD_SCRIPT \
"r,g,b = get_rgb (x,y)\n"\
-"r2,g2,b2 = get_value (0, x+2,y)\n"\
-"set_rgb (x,y,r+g2,g+r2,b+b2)\n"\
+"set_rgb (x,y,g,g,g)\n"\
property_string (script, _("Script"), THRESHOLD_SCRIPT)
description(_("The lua script containing the implementation of this operation."))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]