[gegl] bin: fix dereferencing for aux pads
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] bin: fix dereferencing for aux pads
- Date: Sun, 20 Jan 2019 01:41:52 +0000 (UTC)
commit 84073b0407f3573569697b47e3df2d099a807a8b
Author: Øyvind Kolås <pippin gimp org>
Date: Sun Jan 20 02:41:35 2019 +0100
bin: fix dereferencing for aux pads
bin/ui.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/bin/ui.c b/bin/ui.c
index a708198db..2debc49d3 100644
--- a/bin/ui.c
+++ b/bin/ui.c
@@ -1275,6 +1275,8 @@ int
cmd_dereference (COMMAND_ARGS)
{
State *o = global_state;
+
+ if (o->reference_node)
switch (o->pad_active)
{
case 0:
@@ -1282,9 +1284,10 @@ cmd_dereference (COMMAND_ARGS)
gegl_node_link_many (o->reference_node, o->active, NULL);
break;
case 1:
- gegl_node_link_many (o->reference_node, o->active, NULL);
+ gegl_node_connect_to (o->reference_node, "output", o->active, "aux");
break;
}
+ mrg_queue_draw (o->mrg, NULL);
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]