[gegl/wip/pippin/pipeline: 879/880] reopt out of bad gimp op
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl/wip/pippin/pipeline: 879/880] reopt out of bad gimp op
- Date: Thu, 20 Feb 2020 11:11:12 +0000 (UTC)
commit d6d27a68865ee49c277ae8aef1c0b8fc827666a7
Author: Øyvind Kolås <pippin gimp org>
Date: Tue Feb 18 08:09:36 2020 +0100
reopt out of bad gimp op
gegl/operation/gegl-operation-pipeline.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-pipeline.c b/gegl/operation/gegl-operation-pipeline.c
index 86e3d967d..884e4887a 100644
--- a/gegl/operation/gegl-operation-pipeline.c
+++ b/gegl/operation/gegl-operation-pipeline.c
@@ -56,21 +56,22 @@ struct _GeglOperationPipeLine {
*/
gboolean gegl_operation_is_pipelinable (GeglOperation *op)
{
- gboolean ret = GEGL_IS_OPERATION_POINT_FILTER (op) ||
- GEGL_IS_OPERATION_POINT_COMPOSER (op) ||
- GEGL_IS_OPERATION_POINT_COMPOSER3 (op);
+ gboolean ret = GEGL_IS_OPERATION_POINT_FILTER (op)
+ || GEGL_IS_OPERATION_POINT_COMPOSER (op) ||
+ GEGL_IS_OPERATION_POINT_COMPOSER3 (op);
if (ret)
{
GeglOperationClass *op_klass = GEGL_OPERATION_GET_CLASS (op);
if (op_klass->want_in_place == FALSE)
return FALSE;
}
- if (0 && ret)
+ if (1 && ret)
{
const char *name = gegl_operation_get_name (op);
if (!strcmp (name, "gimp:mask-components"))
return FALSE;
}
+ //return FALSE; // this turns off pipelining
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]