From 966eaf93aa8ddc7b5f59cd9dfec0aacc2dcc7bdf Mon Sep 17 00:00:00 2001 From: "Adam D. Moss" Date: Mon, 8 Sep 2003 13:51:09 +0000 Subject: [PATCH] Disable the (pdb interfaces to the) semi-broken background/foreground * plug-ins/common/animoptimize.c: Disable the (pdb interfaces to the) semi-broken background/foreground stuff unless EXPERIMENTAL_BACKDROP_CODE is defined. --- ChangeLog | 6 ++++++ plug-ins/common/animoptimize.c | 15 +++++++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index daf383410d..d0688a053c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-08-12 Adam D. Moss + + * plug-ins/common/animoptimize.c: Disable the (pdb interfaces + to the) semi-broken background/foreground stuff unless + EXPERIMENTAL_BACKDROP_CODE is defined. + 2003-09-08 Ville Pätsi * gimp.spec.in: Remove all references to *gck* diff --git a/plug-ins/common/animoptimize.c b/plug-ins/common/animoptimize.c index dfd64a8d13..2140464ddc 100644 --- a/plug-ins/common/animoptimize.c +++ b/plug-ins/common/animoptimize.c @@ -1,7 +1,7 @@ /* - * Animation Optimizer plug-in version 1.1.0 [ALPHA] + * Animation Optimizer plug-in version 1.1.1 * - * (c) Adam D. Moss, 1997-2001 + * (c) Adam D. Moss, 1997-2003 * adam@gimp.org * adam@foxbox.org * @@ -11,6 +11,10 @@ /* * REVISION HISTORY: * + * 2003-08-12 : version 1.1.1 + * Disable the semi-broken background/foreground stuff + * unless EXPERIMENTAL_BACKDROP_CODE is defined... + * * 2001-04-28 : version 1.1.0 [ALPHA] * Support automated background (or foreground) removal. * It's half-broken. @@ -70,6 +74,11 @@ * User interface */ +/* +#define EXPERIMENTAL_BACKDROP_CODE +*/ + + #include "config.h" #include @@ -197,6 +206,7 @@ query (void) G_N_ELEMENTS (return_args), args, return_args); +#ifdef EXPERIMENTAL_BACKDROP_CODE gimp_install_procedure ("plug_in_animation_remove_backdrop", "This procedure attempts to remove the backdrop" " from a GIMP layer-based animation, leaving" @@ -227,6 +237,7 @@ query (void) G_N_ELEMENTS (args), G_N_ELEMENTS (return_args), args, return_args); +#endif } static void