[gimp] app: don't invalidate gradient cache upon gradient-type changes



commit 2d19848277d64897af223300cd0617533480edb3
Author: Ell <ell_se yahoo com>
Date:   Thu Apr 26 05:33:30 2018 -0400

    app: don't invalidate gradient cache upon gradient-type changes
    
    In GimpOperationGradient, since we no longer avoid using the
    gradient cache for conical gradients, the gradient type doesn't
    affect the cache.

 app/operations/gimpoperationgradient.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/app/operations/gimpoperationgradient.c b/app/operations/gimpoperationgradient.c
index 3e7d104..36241f3 100644
--- a/app/operations/gimpoperationgradient.c
+++ b/app/operations/gimpoperationgradient.c
@@ -490,8 +490,6 @@ gimp_operation_gradient_set_property (GObject      *object,
 
     case PROP_GRADIENT_TYPE:
       self->gradient_type = g_value_get_enum (value);
-
-      gimp_operation_gradient_invalidate_cache (self);
       break;
 
     case PROP_GRADIENT_REPEAT:


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