gegl r3039 - trunk/gegl/process
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r3039 - trunk/gegl/process
- Date: Sat, 11 Apr 2009 14:50:22 +0000 (UTC)
Author: martinn
Date: Sat Apr 11 14:50:22 2009
New Revision: 3039
URL: http://svn.gnome.org/viewvc/gegl?rev=3039&view=rev
Log:
Remove ugly cache-refresh code in gegl_eval_visitor_visit_pad()
Modified:
trunk/gegl/process/gegl-eval-visitor.c
Modified: trunk/gegl/process/gegl-eval-visitor.c
==============================================================================
--- trunk/gegl/process/gegl-eval-visitor.c (original)
+++ trunk/gegl/process/gegl-eval-visitor.c Sat Apr 11 14:50:22 2009
@@ -72,15 +72,7 @@
if (gegl_pad_is_output (pad))
{
/* processing only really happens for output pads */
- if (context->cached)
- { /* unless we've got a cache valid for the requested region
- * that has not been invalidated, (the validity of the cache
- * is determined by other visitors)
- */
- gegl_operation_context_get_target (context, pad->name);
- /* XXX: why is the _get_target call needed anyways? */
- }
- else
+ if (!context->cached)
{
glong time = gegl_ticks ();
glong babl_time = babl_total_usecs;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]