[gegl] bin: fix info command
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] bin: fix info command
- Date: Thu, 24 Jan 2019 18:34:39 +0000 (UTC)
commit b9955eb9cb709a1c69e4941c580709840405ade4
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Jan 24 18:53:02 2019 +0100
bin: fix info command
bin/ui.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/bin/ui.c b/bin/ui.c
index 4bdf64e44..fa9ae1842 100644
--- a/bin/ui.c
+++ b/bin/ui.c
@@ -5764,6 +5764,9 @@ cmd_info (COMMAND_ARGS)
}
operation = gegl_node_get_gegl_operation (node);
printf ("operation: %s %p\n", gegl_node_get_operation (node), node);
+ extent = gegl_node_get_bounding_box (node);
+ printf ("bounds: %i %i %ix%i\n", extent.x, extent.y, extent.width, extent.height);
+
if (gegl_node_has_pad (node, "input"))
{
const Babl *fmt = gegl_operation_get_format (operation, "input");
@@ -5779,11 +5782,8 @@ cmd_info (COMMAND_ARGS)
const Babl *fmt = gegl_operation_get_format (operation, "output");
printf ("output pixfmt: %s\n", fmt?babl_get_name (fmt):"");
}
- extent = gegl_node_get_bounding_box (node);
- printf ("bounds: %i %i %ix%i\n", extent.x, extent.y, extent.width, extent.height);
- printf ("%s\n", o->active);
mrg_queue_draw (o->mrg, NULL);
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]