mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
Improve Debug -> Show Image Graph output
Use the new gegl:introspect feature of showing the graph of nodes a given node depends on. This gives much better depicted graphs. svn path=/trunk/; revision=28265
This commit is contained in:
parent
73b287148d
commit
5803dc058b
|
@ -1,3 +1,9 @@
|
|||
2009-04-12 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/actions/debug-commands.c: Use the new gegl:introspect
|
||||
feature of showing the graph of nodes a given node depends
|
||||
on. This gives much better depicted graphs.
|
||||
|
||||
2009-04-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/common/*.c: various plug-in parameter cleanups that
|
||||
|
|
|
@ -231,6 +231,7 @@ debug_show_image_graph (GimpImage *source_image)
|
|||
Gimp *gimp = source_image->gimp;
|
||||
GimpProjectable *projectable = GIMP_PROJECTABLE (source_image);
|
||||
GeglNode *image_graph = gimp_projectable_get_graph (projectable);
|
||||
GeglNode *output_node = gegl_node_get_output_proxy (image_graph, "output");
|
||||
GimpImage *new_image = NULL;
|
||||
TileManager *tiles = NULL;
|
||||
GimpLayer *layer = NULL;
|
||||
|
@ -242,7 +243,7 @@ debug_show_image_graph (GimpImage *source_image)
|
|||
/* Setup and process the introspection graph */
|
||||
introspect = gegl_node_new_child (NULL,
|
||||
"operation", "gegl:introspect",
|
||||
"node", image_graph,
|
||||
"node", output_node,
|
||||
NULL);
|
||||
sink = gegl_node_new_child (NULL,
|
||||
"operation", "gegl:buffer-sink",
|
||||
|
|
Loading…
Reference in a new issue