gegl r2753 - in trunk: . operations/common



Author: ok
Date: Sat Nov 15 12:31:52 2008
New Revision: 2753
URL: http://svn.gnome.org/viewvc/gegl?rev=2753&view=rev

Log:
* operations/common/opacity.c: (gegl_chant_class_init): flipped
operation_class->no_cache to FALSE. Inserting an opacity op with
opacity of 1.0 can be used as an explicit cache in the graph.


Modified:
   trunk/ChangeLog
   trunk/operations/common/opacity.c

Modified: trunk/operations/common/opacity.c
==============================================================================
--- trunk/operations/common/opacity.c	(original)
+++ trunk/operations/common/opacity.c	Sat Nov 15 12:31:52 2008
@@ -123,6 +123,12 @@
   point_composer_class->process = process;
   operation_class->prepare = prepare;
 
+  /* overriding the caching behavior that point-composers do
+   * not have caches, this means that an opacity op can be
+   * inserted where you want a cache to be in the graph
+   */
+  operation_class->no_cache = FALSE;
+
   operation_class->name        = "gegl:opacity";
   operation_class->categories  = "transparency";
   operation_class->description =



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]