[gimp] app, pdb, libgimp: Remove all traces of the supersampling recursion level



commit 3b68ae0f3c806708e8832ee148218e9701c7ad91
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 31 01:15:32 2013 +0200

    app, pdb, libgimp: Remove all traces of the supersampling recursion level
    
    from all transform APIs. This is no longer used since we use GEGL to
    transform, the value was only passed around and never used.

 app/core/gimpchannel.c                  |    3 -
 app/core/gimpdrawable-transform.c       |    4 -
 app/core/gimpdrawable-transform.h       |    2 -
 app/core/gimpdrawable.c                 |    3 -
 app/core/gimpgrouplayer.c               |    6 +-
 app/core/gimpimage-item-list.c          |    3 +-
 app/core/gimpimage-item-list.h          |    1 -
 app/core/gimpitem-linked.c              |    3 +-
 app/core/gimpitem-linked.h              |    1 -
 app/core/gimpitem.c                     |    3 +-
 app/core/gimpitem.h                     |    2 -
 app/core/gimplayer.c                    |    5 +-
 app/pdb/context-cmds.c                  |   40 +++++--------
 app/pdb/drawable-transform-cmds.c       |   98 +++++++++++++------------------
 app/pdb/gimppdbcontext.c                |   16 +-----
 app/pdb/gimppdbcontext.h                |    1 -
 app/pdb/item-transform-cmds.c           |   28 ++-------
 app/pdb/transform-tools-cmds.c          |   20 +++---
 app/text/gimptextlayer-transform.c      |    1 -
 app/text/gimptextlayer-transform.h      |    1 -
 app/tools/gimptransformoptions.c        |    1 -
 app/tools/gimptransformoptions.h        |    1 -
 app/tools/gimptransformtool.c           |    3 -
 app/vectors/gimpvectors.c               |    2 -
 libgimp/gimpcontext_pdb.c               |   23 +------
 libgimp/gimpcontext_pdb.h               |    2 +
 libgimp/gimpdrawabletransform_pdb.c     |   28 +++++-----
 libgimp/gimpitemtransform_pdb.c         |   21 ++-----
 tools/pdbgen/pdb/context.pdb            |   38 ++----------
 tools/pdbgen/pdb/drawable_transform.pdb |   50 ++++++++--------
 tools/pdbgen/pdb/item_transform.pdb     |   16 ++---
 tools/pdbgen/pdb/transform_tools.pdb    |   20 +++---
 32 files changed, 156 insertions(+), 290 deletions(-)
---
diff --git a/app/core/gimpchannel.c b/app/core/gimpchannel.c
index 511b6e1..83f44e7 100644
--- a/app/core/gimpchannel.c
+++ b/app/core/gimpchannel.c
@@ -113,7 +113,6 @@ static void       gimp_channel_transform     (GimpItem          *item,
                                               const GimpMatrix3 *matrix,
                                               GimpTransformDirection direction,
                                               GimpInterpolationType interpolation_type,
-                                              gint               recursion_level,
                                               GimpTransformResize clip_result,
                                               GimpProgress      *progress);
 static gboolean   gimp_channel_stroke        (GimpItem          *item,
@@ -750,7 +749,6 @@ gimp_channel_transform (GimpItem               *item,
                         const GimpMatrix3      *matrix,
                         GimpTransformDirection  direction,
                         GimpInterpolationType   interpolation_type,
-                        gint                    recursion_level,
                         GimpTransformResize     clip_result,
                         GimpProgress           *progress)
 {
@@ -759,7 +757,6 @@ gimp_channel_transform (GimpItem               *item,
 
   GIMP_ITEM_CLASS (parent_class)->transform (item, context, matrix, direction,
                                              interpolation_type,
-                                             recursion_level,
                                              clip_result,
                                              progress);
 }
diff --git a/app/core/gimpdrawable-transform.c b/app/core/gimpdrawable-transform.c
index 21c5bcf..24a0bb7 100644
--- a/app/core/gimpdrawable-transform.c
+++ b/app/core/gimpdrawable-transform.c
@@ -72,7 +72,6 @@ gimp_drawable_transform_buffer_affine (GimpDrawable           *drawable,
                                        const GimpMatrix3      *matrix,
                                        GimpTransformDirection  direction,
                                        GimpInterpolationType   interpolation_type,
-                                       gint                    recursion_level,
                                        GimpTransformResize     clip_result,
                                        gint                   *new_offset_x,
                                        gint                   *new_offset_y,
@@ -613,7 +612,6 @@ gimp_drawable_transform_affine (GimpDrawable           *drawable,
                                 const GimpMatrix3      *matrix,
                                 GimpTransformDirection  direction,
                                 GimpInterpolationType   interpolation_type,
-                                gint                    recursion_level,
                                 GimpTransformResize     clip_result,
                                 GimpProgress           *progress)
 {
@@ -664,7 +662,6 @@ gimp_drawable_transform_affine (GimpDrawable           *drawable,
                                matrix,
                                direction,
                                interpolation_type,
-                               recursion_level,
                                clip_result,
                                progress);
         }
@@ -677,7 +674,6 @@ gimp_drawable_transform_affine (GimpDrawable           *drawable,
                                                           matrix,
                                                           direction,
                                                           interpolation_type,
-                                                          recursion_level,
                                                           clip_result,
                                                           &new_offset_x,
                                                           &new_offset_y,
diff --git a/app/core/gimpdrawable-transform.h b/app/core/gimpdrawable-transform.h
index 44ab94e..c1eab60 100644
--- a/app/core/gimpdrawable-transform.h
+++ b/app/core/gimpdrawable-transform.h
@@ -27,7 +27,6 @@ GeglBuffer  * gimp_drawable_transform_buffer_affine (GimpDrawable           *dra
                                                      const GimpMatrix3      *matrix,
                                                      GimpTransformDirection  direction,
                                                      GimpInterpolationType   interpolation_type,
-                                                     gint                    recursion_level,
                                                      GimpTransformResize     clip_result,
                                                      gint                   *new_offset_x,
                                                      gint                   *new_offset_y,
@@ -60,7 +59,6 @@ GimpDrawable * gimp_drawable_transform_affine       (GimpDrawable           *dra
                                                      const GimpMatrix3      *matrix,
                                                      GimpTransformDirection  direction,
                                                      GimpInterpolationType   interpolation_type,
-                                                     gint                    recursion_level,
                                                      GimpTransformResize     clip_result,
                                                      GimpProgress           *progress);
 
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index 753c432..73215a8 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -126,7 +126,6 @@ static void       gimp_drawable_transform          (GimpItem          *item,
                                                     const GimpMatrix3 *matrix,
                                                     GimpTransformDirection direction,
                                                     GimpInterpolationType interpolation_type,
-                                                    gint               recursion_level,
                                                     GimpTransformResize clip_result,
                                                     GimpProgress      *progress);
 
@@ -672,7 +671,6 @@ gimp_drawable_transform (GimpItem               *item,
                          const GimpMatrix3      *matrix,
                          GimpTransformDirection  direction,
                          GimpInterpolationType   interpolation_type,
-                         gint                    recursion_level,
                          GimpTransformResize     clip_result,
                          GimpProgress           *progress)
 {
@@ -688,7 +686,6 @@ gimp_drawable_transform (GimpItem               *item,
                                                   off_x, off_y,
                                                   matrix, direction,
                                                   interpolation_type,
-                                                  recursion_level,
                                                   clip_result,
                                                   &new_off_x, &new_off_y,
                                                   progress);
diff --git a/app/core/gimpgrouplayer.c b/app/core/gimpgrouplayer.c
index 9105031..dbd4ea2 100644
--- a/app/core/gimpgrouplayer.c
+++ b/app/core/gimpgrouplayer.c
@@ -125,7 +125,6 @@ static void            gimp_group_layer_transform    (GimpItem        *item,
                                                       const GimpMatrix3 *matrix,
                                                       GimpTransformDirection direction,
                                                       GimpInterpolationType  interpolation_type,
-                                                      gint             recursion_level,
                                                       GimpTransformResize clip_result,
                                                       GimpProgress    *progress);
 
@@ -769,7 +768,6 @@ gimp_group_layer_transform (GimpItem               *item,
                             const GimpMatrix3      *matrix,
                             GimpTransformDirection  direction,
                             GimpInterpolationType   interpolation_type,
-                            gint                    recursion_level,
                             GimpTransformResize     clip_result,
                             GimpProgress           *progress)
 {
@@ -788,7 +786,7 @@ gimp_group_layer_transform (GimpItem               *item,
 
       gimp_item_transform (child, context,
                            matrix, direction,
-                           interpolation_type, recursion_level,
+                           interpolation_type,
                            clip_result, progress);
     }
 
@@ -797,7 +795,7 @@ gimp_group_layer_transform (GimpItem               *item,
   if (mask)
     gimp_item_transform (GIMP_ITEM (mask), context,
                          matrix, direction,
-                         interpolation_type, recursion_level,
+                         interpolation_type,
                          clip_result, progress);
 
   gimp_group_layer_resume_resize (group, TRUE);
diff --git a/app/core/gimpimage-item-list.c b/app/core/gimpimage-item-list.c
index 0083954..d9c8985 100644
--- a/app/core/gimpimage-item-list.c
+++ b/app/core/gimpimage-item-list.c
@@ -119,7 +119,6 @@ gimp_image_item_list_transform (GimpImage              *image,
                                 const GimpMatrix3      *matrix,
                                 GimpTransformDirection  direction,
                                 GimpInterpolationType   interpolation_type,
-                                gint                    recursion_level,
                                 GimpTransformResize     clip_result,
                                 GimpProgress           *progress)
 {
@@ -137,7 +136,7 @@ gimp_image_item_list_transform (GimpImage              *image,
       for (l = list; l; l = g_list_next (l))
         gimp_item_transform (GIMP_ITEM (l->data), context,
                              matrix, direction,
-                             interpolation_type, recursion_level,
+                             interpolation_type,
                              clip_result, progress);
 
       gimp_image_undo_group_end (image);
diff --git a/app/core/gimpimage-item-list.h b/app/core/gimpimage-item-list.h
index 7053bd4..591acf7 100644
--- a/app/core/gimpimage-item-list.h
+++ b/app/core/gimpimage-item-list.h
@@ -43,7 +43,6 @@ void    gimp_image_item_list_transform (GimpImage              *image,
                                         const GimpMatrix3      *matrix,
                                         GimpTransformDirection  direction,
                                         GimpInterpolationType   interpolation_type,
-                                        gint                    recursion_level,
                                         GimpTransformResize     clip_result,
                                         GimpProgress           *progress);
 
diff --git a/app/core/gimpitem-linked.c b/app/core/gimpitem-linked.c
index 502aef7..4a2548f 100644
--- a/app/core/gimpitem-linked.c
+++ b/app/core/gimpitem-linked.c
@@ -165,7 +165,6 @@ gimp_item_linked_transform (GimpItem               *item,
                             const GimpMatrix3      *matrix,
                             GimpTransformDirection  direction,
                             GimpInterpolationType   interpolation_type,
-                            gint                    recursion_level,
                             GimpTransformResize     clip_result,
                             GimpProgress           *progress)
 {
@@ -185,7 +184,7 @@ gimp_item_linked_transform (GimpItem               *item,
 
   gimp_image_item_list_transform (gimp_item_get_image (item), list, context,
                                   matrix, direction,
-                                  interpolation_type, recursion_level,
+                                  interpolation_type,
                                   clip_result, progress);
 
   g_list_free (list);
diff --git a/app/core/gimpitem-linked.h b/app/core/gimpitem-linked.h
index 974d0ad..fc2106d 100644
--- a/app/core/gimpitem-linked.h
+++ b/app/core/gimpitem-linked.h
@@ -41,7 +41,6 @@ void     gimp_item_linked_transform (GimpItem               *item,
                                      const GimpMatrix3      *matrix,
                                      GimpTransformDirection  direction,
                                      GimpInterpolationType   interpolation_type,
-                                     gint                    recursion_level,
                                      GimpTransformResize     clip_result,
                                      GimpProgress           *progress);
 
diff --git a/app/core/gimpitem.c b/app/core/gimpitem.c
index 3fe4b61..6fc2da6 100644
--- a/app/core/gimpitem.c
+++ b/app/core/gimpitem.c
@@ -1461,7 +1461,6 @@ gimp_item_transform (GimpItem               *item,
                      const GimpMatrix3      *matrix,
                      GimpTransformDirection  direction,
                      GimpInterpolationType   interpolation,
-                     gint                    recursion_level,
                      GimpTransformResize     clip_result,
                      GimpProgress           *progress)
 {
@@ -1483,7 +1482,7 @@ gimp_item_transform (GimpItem               *item,
   g_object_freeze_notify (G_OBJECT (item));
 
   item_class->transform (item, context, matrix, direction, interpolation,
-                         recursion_level, clip_result, progress);
+                         clip_result, progress);
 
   g_object_thaw_notify (G_OBJECT (item));
 
diff --git a/app/core/gimpitem.h b/app/core/gimpitem.h
index 4d700ff..f35e4dd 100644
--- a/app/core/gimpitem.h
+++ b/app/core/gimpitem.h
@@ -95,7 +95,6 @@ struct _GimpItemClass
                                           const GimpMatrix3      *matrix,
                                           GimpTransformDirection  direction,
                                           GimpInterpolationType   interpolation_type,
-                                          gint                    recursion_level,
                                           GimpTransformResize     clip_result,
                                           GimpProgress           *progress);
   gboolean        (* stroke)             (GimpItem               *item,
@@ -232,7 +231,6 @@ void            gimp_item_transform          (GimpItem           *item,
                                               const GimpMatrix3  *matrix,
                                               GimpTransformDirection direction,
                                               GimpInterpolationType interpolation_type,
-                                              gint                recursion_level,
                                               GimpTransformResize clip_result,
                                               GimpProgress       *progress);
 
diff --git a/app/core/gimplayer.c b/app/core/gimplayer.c
index bd39027..8714874 100644
--- a/app/core/gimplayer.c
+++ b/app/core/gimplayer.c
@@ -143,7 +143,6 @@ static void       gimp_layer_transform          (GimpItem           *item,
                                                  const GimpMatrix3  *matrix,
                                                  GimpTransformDirection direction,
                                                  GimpInterpolationType  interpolation_type,
-                                                 gint                recursion_level,
                                                  GimpTransformResize clip_result,
                                                  GimpProgress       *progress);
 static void       gimp_layer_to_selection       (GimpItem           *item,
@@ -936,7 +935,6 @@ gimp_layer_transform (GimpItem               *item,
                       const GimpMatrix3      *matrix,
                       GimpTransformDirection  direction,
                       GimpInterpolationType   interpolation_type,
-                      gint                    recursion_level,
                       GimpTransformResize     clip_result,
                       GimpProgress           *progress)
 {
@@ -949,14 +947,13 @@ gimp_layer_transform (GimpItem               *item,
 
   GIMP_ITEM_CLASS (parent_class)->transform (item, context, matrix, direction,
                                              interpolation_type,
-                                             recursion_level,
                                              clip_result,
                                              progress);
 
   if (layer->mask)
     gimp_item_transform (GIMP_ITEM (layer->mask), context,
                          matrix, direction,
-                         interpolation_type, recursion_level,
+                         interpolation_type,
                          clip_result, progress);
 }
 
diff --git a/app/pdb/context-cmds.c b/app/pdb/context-cmds.c
index bcb32cb..f1962ee 100644
--- a/app/pdb/context-cmds.c
+++ b/app/pdb/context-cmds.c
@@ -1452,9 +1452,7 @@ context_get_transform_recursion_invoker (GimpProcedure         *procedure,
   GimpValueArray *return_vals;
   gint32 transform_recursion = 0;
 
-  g_object_get (context,
-                "transform-recursion", &transform_recursion,
-                NULL);
+  transform_recursion = 3;
 
   return_vals = gimp_procedure_get_return_values (procedure, TRUE, NULL);
   g_value_set_int (gimp_value_array_index (return_vals, 1), transform_recursion);
@@ -1471,17 +1469,9 @@ context_set_transform_recursion_invoker (GimpProcedure         *procedure,
                                          GError               **error)
 {
   gboolean success = TRUE;
-  gint32 transform_recursion;
-
-  transform_recursion = g_value_get_int (gimp_value_array_index (args, 0));
-
   if (success)
     {
-      g_object_set (context,
-                    "transform-recursion", transform_recursion,
-                    NULL);
     }
-
   return gimp_procedure_get_return_values (procedure, success,
                                            error ? *error : NULL);
 }
@@ -3326,16 +3316,16 @@ register_context_procs (GimpPDB *pdb)
                                "gimp-context-get-transform-recursion");
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-context-get-transform-recursion",
-                                     "Get the transform supersampling recursion.",
-                                     "This procedure returns the transform supersampling recursion level.",
-                                     "Michael Natterer <mitch gimp org>",
-                                     "Michael Natterer",
-                                     "2010",
-                                     NULL);
+                                     "Deprecated: There is no replacement for this procedure.",
+                                     "Deprecated: There is no replacement for this procedure.",
+                                     "",
+                                     "",
+                                     "",
+                                     "NONE");
   gimp_procedure_add_return_value (procedure,
                                    gimp_param_spec_int32 ("transform-recursion",
                                                           "transform recursion",
-                                                          "The transform recursion level",
+                                                          "This returns always 3 and is meaningless",
                                                           1, G_MAXINT32, 1,
                                                           GIMP_PARAM_READWRITE));
   gimp_pdb_register_procedure (pdb, procedure);
@@ -3349,16 +3339,16 @@ register_context_procs (GimpPDB *pdb)
                                "gimp-context-set-transform-recursion");
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-context-set-transform-recursion",
-                                     "Set the transform supersampling recursion.",
-                                     "This procedure modifies the transform supersampling recursion level 
setting. Whether or not a transformation does supersampling is determined by the interplolation type. The 
recursion level defaults to 3, which is a nice default value. This setting affects affects the following 
procedures: 'gimp-item-transform-flip', 'gimp-item-transform-perspective', 'gimp-item-transform-rotate', 
'gimp-item-transform-scale', 'gimp-item-transform-shear', 'gimp-item-transform-2d', 
'gimp-item-transform-matrix'.",
-                                     "Michael Natterer <mitch gimp org>",
-                                     "Michael Natterer",
-                                     "2010",
-                                     NULL);
+                                     "Deprecated: There is no replacement for this procedure.",
+                                     "Deprecated: There is no replacement for this procedure.",
+                                     "",
+                                     "",
+                                     "",
+                                     "NONE");
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("transform-recursion",
                                                       "transform recursion",
-                                                      "The transform recursion level",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_pdb_register_procedure (pdb, procedure);
diff --git a/app/pdb/drawable-transform-cmds.c b/app/pdb/drawable-transform-cmds.c
index 50141ff..6f7ace9 100644
--- a/app/pdb/drawable-transform-cmds.c
+++ b/app/pdb/drawable-transform-cmds.c
@@ -126,7 +126,6 @@ drawable_transform_flip_invoker (GimpProcedure         *procedure,
   gdouble y1;
   gint32 transform_direction;
   gint32 interpolation;
-  gint32 recursion_level;
   gboolean clip_result;
 
   drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
@@ -136,7 +135,6 @@ drawable_transform_flip_invoker (GimpProcedure         *procedure,
   y1 = g_value_get_double (gimp_value_array_index (args, 4));
   transform_direction = g_value_get_enum (gimp_value_array_index (args, 5));
   interpolation = g_value_get_enum (gimp_value_array_index (args, 6));
-  recursion_level = g_value_get_int (gimp_value_array_index (args, 8));
   clip_result = g_value_get_boolean (gimp_value_array_index (args, 9));
 
   if (success)
@@ -172,7 +170,7 @@ drawable_transform_flip_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, transform_direction,
-                                                    interpolation, recursion_level,
+                                                    interpolation,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -182,7 +180,7 @@ drawable_transform_flip_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    transform_direction,
-                                   interpolation, recursion_level,
+                                   interpolation,
                                    clip_result, progress);
             }
 
@@ -262,7 +260,7 @@ drawable_transform_flip_default_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -272,7 +270,7 @@ drawable_transform_flip_default_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation_type, 3,
+                                   interpolation_type,
                                    clip_result, progress);
             }
 
@@ -311,7 +309,6 @@ drawable_transform_perspective_invoker (GimpProcedure         *procedure,
   gdouble y3;
   gint32 transform_direction;
   gint32 interpolation;
-  gint32 recursion_level;
   gint32 clip_result;
 
   drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
@@ -325,7 +322,6 @@ drawable_transform_perspective_invoker (GimpProcedure         *procedure,
   y3 = g_value_get_double (gimp_value_array_index (args, 8));
   transform_direction = g_value_get_enum (gimp_value_array_index (args, 9));
   interpolation = g_value_get_enum (gimp_value_array_index (args, 10));
-  recursion_level = g_value_get_int (gimp_value_array_index (args, 12));
   clip_result = g_value_get_enum (gimp_value_array_index (args, 13));
 
   if (success)
@@ -363,7 +359,7 @@ drawable_transform_perspective_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, transform_direction,
-                                                    interpolation, recursion_level,
+                                                    interpolation,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -373,7 +369,7 @@ drawable_transform_perspective_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    transform_direction,
-                                   interpolation, recursion_level,
+                                   interpolation,
                                    clip_result, progress);
             }
 
@@ -463,7 +459,7 @@ drawable_transform_perspective_default_invoker (GimpProcedure         *procedure
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -473,7 +469,7 @@ drawable_transform_perspective_default_invoker (GimpProcedure         *procedure
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation_type, 3,
+                                   interpolation_type,
                                    clip_result, progress);
             }
 
@@ -577,7 +573,6 @@ drawable_transform_rotate_invoker (GimpProcedure         *procedure,
   gint32 center_y;
   gint32 transform_direction;
   gint32 interpolation;
-  gint32 recursion_level;
   gint32 clip_result;
 
   drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
@@ -587,7 +582,6 @@ drawable_transform_rotate_invoker (GimpProcedure         *procedure,
   center_y = g_value_get_int (gimp_value_array_index (args, 4));
   transform_direction = g_value_get_enum (gimp_value_array_index (args, 5));
   interpolation = g_value_get_enum (gimp_value_array_index (args, 6));
-  recursion_level = g_value_get_int (gimp_value_array_index (args, 8));
   clip_result = g_value_get_enum (gimp_value_array_index (args, 9));
 
   if (success)
@@ -627,7 +621,7 @@ drawable_transform_rotate_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, transform_direction,
-                                                    interpolation, recursion_level,
+                                                    interpolation,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -637,7 +631,7 @@ drawable_transform_rotate_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    transform_direction,
-                                   interpolation, recursion_level,
+                                   interpolation,
                                    clip_result, progress);
             }
 
@@ -721,7 +715,7 @@ drawable_transform_rotate_default_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -731,7 +725,7 @@ drawable_transform_rotate_default_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation_type, 3,
+                                   interpolation_type,
                                    clip_result, progress);
             }
 
@@ -766,7 +760,6 @@ drawable_transform_scale_invoker (GimpProcedure         *procedure,
   gdouble y1;
   gint32 transform_direction;
   gint32 interpolation;
-  gint32 recursion_level;
   gint32 clip_result;
 
   drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
@@ -776,7 +769,6 @@ drawable_transform_scale_invoker (GimpProcedure         *procedure,
   y1 = g_value_get_double (gimp_value_array_index (args, 4));
   transform_direction = g_value_get_enum (gimp_value_array_index (args, 5));
   interpolation = g_value_get_enum (gimp_value_array_index (args, 6));
-  recursion_level = g_value_get_int (gimp_value_array_index (args, 8));
   clip_result = g_value_get_enum (gimp_value_array_index (args, 9));
 
   if (success)
@@ -812,7 +804,7 @@ drawable_transform_scale_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, transform_direction,
-                                                    interpolation, recursion_level,
+                                                    interpolation,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -822,7 +814,7 @@ drawable_transform_scale_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    transform_direction,
-                                   interpolation, recursion_level,
+                                   interpolation,
                                    clip_result, progress);
             }
 
@@ -903,7 +895,7 @@ drawable_transform_scale_default_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -913,7 +905,7 @@ drawable_transform_scale_default_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation_type, 3,
+                                   interpolation_type,
                                    clip_result, progress);
             }
 
@@ -946,7 +938,6 @@ drawable_transform_shear_invoker (GimpProcedure         *procedure,
   gdouble magnitude;
   gint32 transform_direction;
   gint32 interpolation;
-  gint32 recursion_level;
   gint32 clip_result;
 
   drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
@@ -954,7 +945,6 @@ drawable_transform_shear_invoker (GimpProcedure         *procedure,
   magnitude = g_value_get_double (gimp_value_array_index (args, 2));
   transform_direction = g_value_get_enum (gimp_value_array_index (args, 3));
   interpolation = g_value_get_enum (gimp_value_array_index (args, 4));
-  recursion_level = g_value_get_int (gimp_value_array_index (args, 6));
   clip_result = g_value_get_enum (gimp_value_array_index (args, 7));
 
   if (success)
@@ -991,7 +981,7 @@ drawable_transform_shear_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, transform_direction,
-                                                    interpolation, recursion_level,
+                                                    interpolation,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -1001,7 +991,7 @@ drawable_transform_shear_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    transform_direction,
-                                   interpolation, recursion_level,
+                                   interpolation,
                                    clip_result, progress);
             }
 
@@ -1078,7 +1068,7 @@ drawable_transform_shear_default_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -1088,7 +1078,7 @@ drawable_transform_shear_default_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation_type, 3,
+                                   interpolation_type,
                                    clip_result, progress);
             }
 
@@ -1126,7 +1116,6 @@ drawable_transform_2d_invoker (GimpProcedure         *procedure,
   gdouble dest_y;
   gint32 transform_direction;
   gint32 interpolation;
-  gint32 recursion_level;
   gint32 clip_result;
 
   drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
@@ -1139,7 +1128,6 @@ drawable_transform_2d_invoker (GimpProcedure         *procedure,
   dest_y = g_value_get_double (gimp_value_array_index (args, 7));
   transform_direction = g_value_get_enum (gimp_value_array_index (args, 8));
   interpolation = g_value_get_enum (gimp_value_array_index (args, 9));
-  recursion_level = g_value_get_int (gimp_value_array_index (args, 11));
   clip_result = g_value_get_enum (gimp_value_array_index (args, 12));
 
   if (success)
@@ -1177,7 +1165,7 @@ drawable_transform_2d_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, transform_direction,
-                                                    interpolation, recursion_level,
+                                                    interpolation,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -1187,7 +1175,7 @@ drawable_transform_2d_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    transform_direction,
-                                   interpolation, recursion_level,
+                                   interpolation,
                                    clip_result, progress);
             }
 
@@ -1275,7 +1263,7 @@ drawable_transform_2d_default_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -1285,7 +1273,7 @@ drawable_transform_2d_default_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation_type, 3,
+                                   interpolation_type,
                                    clip_result, progress);
             }
 
@@ -1325,7 +1313,6 @@ drawable_transform_matrix_invoker (GimpProcedure         *procedure,
   gdouble coeff_2_2;
   gint32 transform_direction;
   gint32 interpolation;
-  gint32 recursion_level;
   gint32 clip_result;
 
   drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
@@ -1340,7 +1327,6 @@ drawable_transform_matrix_invoker (GimpProcedure         *procedure,
   coeff_2_2 = g_value_get_double (gimp_value_array_index (args, 9));
   transform_direction = g_value_get_enum (gimp_value_array_index (args, 10));
   interpolation = g_value_get_enum (gimp_value_array_index (args, 11));
-  recursion_level = g_value_get_int (gimp_value_array_index (args, 13));
   clip_result = g_value_get_enum (gimp_value_array_index (args, 14));
 
   if (success)
@@ -1382,7 +1368,7 @@ drawable_transform_matrix_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, transform_direction,
-                                                    interpolation, recursion_level,
+                                                    interpolation,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -1392,7 +1378,7 @@ drawable_transform_matrix_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    transform_direction,
-                                   interpolation, recursion_level,
+                                   interpolation,
                                    clip_result, progress);
             }
 
@@ -1488,7 +1474,7 @@ drawable_transform_matrix_default_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     clip_result, progress))
                 {
                   success = FALSE;
@@ -1498,7 +1484,7 @@ drawable_transform_matrix_default_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation_type, 3,
+                                   interpolation_type,
                                    clip_result, progress);
             }
 
@@ -1638,13 +1624,13 @@ register_drawable_transform_procs (GimpPDB *pdb)
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("supersample",
                                                      "supersample",
-                                                     "This parameter is ignored, supersampling is performed 
based on the interpolation type",
+                                                     "This parameter is ignored",
                                                      FALSE,
                                                      GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("recursion-level",
                                                       "recursion level",
-                                                      "Maximum recursion level used for supersampling (3 is 
a nice value)",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
@@ -1812,13 +1798,13 @@ register_drawable_transform_procs (GimpPDB *pdb)
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("supersample",
                                                      "supersample",
-                                                     "This parameter is ignored, supersampling is performed 
based on the interpolation type",
+                                                     "This parameter is ignored",
                                                      FALSE,
                                                      GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("recursion-level",
                                                       "recursion level",
-                                                      "Maximum recursion level used for supersampling (3 is 
a nice value)",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
@@ -2048,13 +2034,13 @@ register_drawable_transform_procs (GimpPDB *pdb)
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("supersample",
                                                      "supersample",
-                                                     "This parameter is ignored, supersampling is performed 
based on the interpolation type",
+                                                     "This parameter is ignored",
                                                      FALSE,
                                                      GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("recursion-level",
                                                       "recursion level",
-                                                      "Maximum recursion level used for supersampling (3 is 
a nice value)",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
@@ -2200,13 +2186,13 @@ register_drawable_transform_procs (GimpPDB *pdb)
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("supersample",
                                                      "supersample",
-                                                     "This parameter is ignored, supersampling is performed 
based on the interpolation type",
+                                                     "This parameter is ignored",
                                                      FALSE,
                                                      GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("recursion-level",
                                                       "recursion level",
-                                                      "Maximum recursion level used for supersampling (3 is 
a nice value)",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
@@ -2343,13 +2329,13 @@ register_drawable_transform_procs (GimpPDB *pdb)
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("supersample",
                                                      "supersample",
-                                                     "This parameter is ignored, supersampling is performed 
based on the interpolation type",
+                                                     "This parameter is ignored",
                                                      FALSE,
                                                      GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("recursion-level",
                                                       "recursion level",
-                                                      "Maximum recursion level used for supersampling (3 is 
a nice value)",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
@@ -2504,13 +2490,13 @@ register_drawable_transform_procs (GimpPDB *pdb)
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("supersample",
                                                      "supersample",
-                                                     "This parameter is ignored, supersampling is performed 
based on the interpolation type",
+                                                     "This parameter is ignored",
                                                      FALSE,
                                                      GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("recursion-level",
                                                       "recursion level",
-                                                      "Maximum recursion level used for supersampling (3 is 
a nice value)",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
@@ -2704,13 +2690,13 @@ register_drawable_transform_procs (GimpPDB *pdb)
   gimp_procedure_add_argument (procedure,
                                g_param_spec_boolean ("supersample",
                                                      "supersample",
-                                                     "This parameter is ignored, supersampling is performed 
based on the interpolation type",
+                                                     "This parameter is ignored",
                                                      FALSE,
                                                      GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
                                gimp_param_spec_int32 ("recursion-level",
                                                       "recursion level",
-                                                      "Maximum recursion level used for supersampling (3 is 
a nice value)",
+                                                      "This parameter is ignored",
                                                       1, G_MAXINT32, 1,
                                                       GIMP_PARAM_READWRITE));
   gimp_procedure_add_argument (procedure,
diff --git a/app/pdb/gimppdbcontext.c b/app/pdb/gimppdbcontext.c
index 6cdcbfc..9f4dedb 100644
--- a/app/pdb/gimppdbcontext.c
+++ b/app/pdb/gimppdbcontext.c
@@ -52,8 +52,7 @@ enum
   PROP_SAMPLE_TRANSPARENT,
   PROP_INTERPOLATION,
   PROP_TRANSFORM_DIRECTION,
-  PROP_TRANSFORM_RESIZE,
-  PROP_TRANSFORM_RECURSION
+  PROP_TRANSFORM_RESIZE
 };
 
 
@@ -143,11 +142,6 @@ gimp_pdb_context_class_init (GimpPDBContextClass *klass)
                                  GIMP_TYPE_TRANSFORM_RESIZE,
                                  GIMP_TRANSFORM_RESIZE_ADJUST,
                                  GIMP_PARAM_STATIC_STRINGS);
-
-  GIMP_CONFIG_INSTALL_PROP_INT (object_class, PROP_TRANSFORM_RECURSION,
-                                "transform-recursion", NULL,
-                                1, G_MAXINT32, 3,
-                                GIMP_PARAM_STATIC_STRINGS);
 }
 
 static void
@@ -259,10 +253,6 @@ gimp_pdb_context_set_property (GObject      *object,
       options->transform_resize = g_value_get_enum (value);
       break;
 
-    case PROP_TRANSFORM_RECURSION:
-      options->transform_recursion = g_value_get_int (value);
-      break;
-
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
       break;
@@ -323,10 +313,6 @@ gimp_pdb_context_get_property (GObject    *object,
       g_value_set_enum (value, options->transform_resize);
       break;
 
-    case PROP_TRANSFORM_RECURSION:
-      g_value_set_int (value, options->transform_recursion);
-      break;
-
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
       break;
diff --git a/app/pdb/gimppdbcontext.h b/app/pdb/gimppdbcontext.h
index 41a1e05..c9d6908 100644
--- a/app/pdb/gimppdbcontext.h
+++ b/app/pdb/gimppdbcontext.h
@@ -51,7 +51,6 @@ struct _GimpPDBContext
   GimpInterpolationType   interpolation;
   GimpTransformDirection  transform_direction;
   GimpTransformResize     transform_resize;
-  gint                    transform_recursion;
 
   GimpContainer          *paint_options_list;
 };
diff --git a/app/pdb/item-transform-cmds.c b/app/pdb/item-transform-cmds.c
index 48f02a4..e0e8fc5 100644
--- a/app/pdb/item-transform-cmds.c
+++ b/app/pdb/item-transform-cmds.c
@@ -179,7 +179,6 @@ item_transform_flip_invoker (GimpProcedure         *procedure,
                                                          context, &matrix,
                                                          pdb_context->transform_direction,
                                                          pdb_context->interpolation,
-                                                         pdb_context->transform_recursion,
                                                          pdb_context->transform_resize,
                                                          progress);
 
@@ -193,7 +192,6 @@ item_transform_flip_invoker (GimpProcedure         *procedure,
               gimp_item_transform (item, context, &matrix,
                                    pdb_context->transform_direction,
                                    pdb_context->interpolation,
-                                   pdb_context->transform_recursion,
                                    pdb_context->transform_resize,
                                    progress);
             }
@@ -281,7 +279,6 @@ item_transform_perspective_invoker (GimpProcedure         *procedure,
                                                          context, &matrix,
                                                          pdb_context->transform_direction,
                                                          pdb_context->interpolation,
-                                                         pdb_context->transform_recursion,
                                                          pdb_context->transform_resize,
                                                          progress);
 
@@ -295,7 +292,6 @@ item_transform_perspective_invoker (GimpProcedure         *procedure,
               gimp_item_transform (item, context, &matrix,
                                    pdb_context->transform_direction,
                                    pdb_context->interpolation,
-                                   pdb_context->transform_recursion,
                                    pdb_context->transform_resize,
                                    progress);
             }
@@ -456,7 +452,6 @@ item_transform_rotate_invoker (GimpProcedure         *procedure,
                                                          context, &matrix,
                                                          pdb_context->transform_direction,
                                                          pdb_context->interpolation,
-                                                         pdb_context->transform_recursion,
                                                          pdb_context->transform_resize,
                                                          progress);
 
@@ -470,7 +465,6 @@ item_transform_rotate_invoker (GimpProcedure         *procedure,
               gimp_item_transform (item, context, &matrix,
                                    pdb_context->transform_direction,
                                    pdb_context->interpolation,
-                                   pdb_context->transform_recursion,
                                    pdb_context->transform_resize,
                                    progress);
             }
@@ -549,7 +543,6 @@ item_transform_scale_invoker (GimpProcedure         *procedure,
                                                          context, &matrix,
                                                          pdb_context->transform_direction,
                                                          pdb_context->interpolation,
-                                                         pdb_context->transform_recursion,
                                                          pdb_context->transform_resize,
                                                          progress);
 
@@ -563,7 +556,6 @@ item_transform_scale_invoker (GimpProcedure         *procedure,
               gimp_item_transform (item, context, &matrix,
                                    pdb_context->transform_direction,
                                    pdb_context->interpolation,
-                                   pdb_context->transform_recursion,
                                    pdb_context->transform_resize,
                                    progress);
             }
@@ -638,7 +630,6 @@ item_transform_shear_invoker (GimpProcedure         *procedure,
                                                          context, &matrix,
                                                          pdb_context->transform_direction,
                                                          pdb_context->interpolation,
-                                                         pdb_context->transform_recursion,
                                                          pdb_context->transform_resize,
                                                          progress);
 
@@ -652,7 +643,6 @@ item_transform_shear_invoker (GimpProcedure         *procedure,
               gimp_item_transform (item, context, &matrix,
                                    pdb_context->transform_direction,
                                    pdb_context->interpolation,
-                                   pdb_context->transform_recursion,
                                    pdb_context->transform_resize,
                                    progress);
             }
@@ -738,7 +728,6 @@ item_transform_2d_invoker (GimpProcedure         *procedure,
                                                          context, &matrix,
                                                          pdb_context->transform_direction,
                                                          pdb_context->interpolation,
-                                                         pdb_context->transform_recursion,
                                                          pdb_context->transform_resize,
                                                          progress);
 
@@ -752,7 +741,6 @@ item_transform_2d_invoker (GimpProcedure         *procedure,
               gimp_item_transform (item, context, &matrix,
                                    pdb_context->transform_direction,
                                    pdb_context->interpolation,
-                                   pdb_context->transform_recursion,
                                    pdb_context->transform_resize,
                                    progress);
             }
@@ -846,7 +834,6 @@ item_transform_matrix_invoker (GimpProcedure         *procedure,
                                                          context, &matrix,
                                                          pdb_context->transform_direction,
                                                          pdb_context->interpolation,
-                                                         pdb_context->transform_recursion,
                                                          pdb_context->transform_resize,
                                                          progress);
 
@@ -860,7 +847,6 @@ item_transform_matrix_invoker (GimpProcedure         *procedure,
               gimp_item_transform (item, context, &matrix,
                                    pdb_context->transform_direction,
                                    pdb_context->interpolation,
-                                   pdb_context->transform_recursion,
                                    pdb_context->transform_resize,
                                    progress);
             }
@@ -943,7 +929,7 @@ register_item_transform_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-item-transform-flip",
                                      "Flip the specified item around a given line.",
-                                     "This procedure flips the specified item. If a selection exists and the 
item is a drawable , the portion of the drawable which lies under the selection is cut from the drawable and 
made into a floating selection which is then flipped. The axis to flip around is specified by specifying two 
points from that line. The return value is the ID of the flipped item. If there was no selection or the item 
is not a drawable, this will be equal to the item ID supplied as input. Otherwise, this will be the newly 
created and flipped drawable. This procedure is affected by the following context setters: 
'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize', 'gimp-context-set-transform-recursion'.",
+                                     "This procedure flips the specified item. If a selection exists and the 
item is a drawable , the portion of the drawable which lies under the selection is cut from the drawable and 
made into a floating selection which is then flipped. The axis to flip around is specified by specifying two 
points from that line. The return value is the ID of the flipped item. If there was no selection or the item 
is not a drawable, this will be equal to the item ID supplied as input. Otherwise, this will be the newly 
created and flipped drawable. This procedure is affected by the following context setters: 
'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
@@ -997,7 +983,7 @@ register_item_transform_procs (GimpPDB *pdb)
                                      "gimp-item-transform-perspective",
                                      "Perform a possibly non-affine transformation on the specified item.",
                                      "This procedure performs a possibly non-affine transformation on the 
specified item by allowing the corners of the original bounding box to be arbitrarily remapped to any values. 
The specified item is remapped if no selection exists or it is not a drawable. However, if a selection exists 
and the item is a drawable, the portion of the drawable which lies under the selection is cut from the 
drawable and made into a floating selection which is then remapped as specified. The return value is the ID 
of the remapped item. If there was no selection or the item is not a drawable, this will be equal to the item 
ID supplied as input. Otherwise, this will be the newly created and remapped drawable. The 4 coordinates 
specify the new locations of each corner of the original bounding box. By specifying these values, any affine 
transformation (rotation, scaling, translation) can be affected. Additionally, these values can be specified 
such that the resu
 lting transformed item will appear to have"
-  "been projected via a perspective transform. This procedure is affected by the following context setters: 
'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize', 'gimp-context-set-transform-recursion'.",
+  "been projected via a perspective transform. This procedure is affected by the following context setters: 
'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
@@ -1128,7 +1114,7 @@ register_item_transform_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-item-transform-rotate",
                                      "Rotate the specified item about given coordinates through the 
specified angle.",
-                                     "This function rotates the specified item. If a selection exists and 
the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable 
and made into a floating selection which is then rotated by the specified amount. The return value is the ID 
of the rotated item. If there was no selection or the item is not a drawable, this will be equal to the item 
ID supplied as input. Otherwise, this will be the newly created and rotated drawable. This procedure is 
affected by the following context setters: 'gimp-context-set-interpolation', 
'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize', 
'gimp-context-set-transform-recursion'.",
+                                     "This function rotates the specified item. If a selection exists and 
the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable 
and made into a floating selection which is then rotated by the specified amount. The return value is the ID 
of the rotated item. If there was no selection or the item is not a drawable, this will be equal to the item 
ID supplied as input. Otherwise, this will be the newly created and rotated drawable. This procedure is 
affected by the following context setters: 'gimp-context-set-interpolation', 
'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
@@ -1181,7 +1167,7 @@ register_item_transform_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-item-transform-scale",
                                      "Scale the specified item.",
-                                     "This procedure scales the specified item. If a selection exists and 
the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable 
and made into a floating selection which is then scaled by the specified amount. The return value is the ID 
of the scaled item. If there was no selection or the item is not a drawable, this will be equal to the item 
ID supplied as input. Otherwise, this will be the newly created and scaled drawable. This procedure is 
affected by the following context setters: 'gimp-context-set-interpolation', 
'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize', 
'gimp-context-set-transform-recursion'.",
+                                     "This procedure scales the specified item. If a selection exists and 
the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable 
and made into a floating selection which is then scaled by the specified amount. The return value is the ID 
of the scaled item. If there was no selection or the item is not a drawable, this will be equal to the item 
ID supplied as input. Otherwise, this will be the newly created and scaled drawable. This procedure is 
affected by the following context setters: 'gimp-context-set-interpolation', 
'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
@@ -1234,7 +1220,7 @@ register_item_transform_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-item-transform-shear",
                                      "Shear the specified item about its center by the specified magnitude.",
-                                     "This procedure shears the specified item. If a selection exists and 
the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable 
and made into a floating selection which is then sheard by the specified amount. The return value is the ID 
of the sheard item. If there was no selection or the item is not a drawable, this will be equal to the item 
ID supplied as input. Otherwise, this will be the newly created and sheard drawable. The shear type parameter 
indicates whether the shear will be applied horizontally or vertically. The magnitude can be either positive 
or negative and indicates the extent (in pixels) to shear by. This procedure is affected by the following 
context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize', 'gimp-context-set-transform-recursion'.",
+                                     "This procedure shears the specified item. If a selection exists and 
the item is a drawable, the portion of the drawable which lies under the selection is cut from the drawable 
and made into a floating selection which is then sheard by the specified amount. The return value is the ID 
of the sheard item. If there was no selection or the item is not a drawable, this will be equal to the item 
ID supplied as input. Otherwise, this will be the newly created and sheard drawable. The shear type parameter 
indicates whether the shear will be applied horizontally or vertically. The magnitude can be either positive 
or negative and indicates the extent (in pixels) to shear by. This procedure is affected by the following 
context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
@@ -1278,7 +1264,7 @@ register_item_transform_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-item-transform-2d",
                                      "Transform the specified item in 2d.",
-                                     "This procedure transforms the specified item. If a selection exists 
and the item is a drawable, the portion of the drawable which lies under the selection is cut from the 
drawable and made into a floating selection which is then transformed. The transformation is done by scaling 
the image by the x and y scale factors about the point (source_x, source_y), then rotating around the same 
point, then translating that point to the new position (dest_x, dest_y). The return value is the ID of the 
rotated drawable. If there was no selection or the item is not a drawable, this will be equal to the item ID 
supplied as input. Otherwise, this will be the newly created and transformed drawable. This procedure is 
affected by the following context setters: 'gimp-context-set-interpolation', 
'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize', 
'gimp-context-set-transform-recursion'.",
+                                     "This procedure transforms the specified item. If a selection exists 
and the item is a drawable, the portion of the drawable which lies under the selection is cut from the 
drawable and made into a floating selection which is then transformed. The transformation is done by scaling 
the image by the x and y scale factors about the point (source_x, source_y), then rotating around the same 
point, then translating that point to the new position (dest_x, dest_y). The return value is the ID of the 
rotated drawable. If there was no selection or the item is not a drawable, this will be equal to the item ID 
supplied as input. Otherwise, this will be the newly created and transformed drawable. This procedure is 
affected by the following context setters: 'gimp-context-set-interpolation', 
'gimp-context-set-transform-direction', 'gimp-context-set-transform-resize'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
@@ -1349,7 +1335,7 @@ register_item_transform_procs (GimpPDB *pdb)
   gimp_procedure_set_static_strings (procedure,
                                      "gimp-item-transform-matrix",
                                      "Transform the specified item in 2d.",
-                                     "This procedure transforms the specified item. If a selection exists 
and the item is a drawable, the portion of the drawable which lies under the selection is cut from the 
drawable and made into a floating selection which is then transformed. The transformation is done by 
assembling a 3x3 matrix from the coefficients passed. The return value is the ID of the transformed item. If 
there was no selection or the item is not a drawable, this will be equal to the item ID supplied as input. 
Otherwise, this will be the newly created and transformed drawable. This procedure is affected by the 
following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize', 'gimp-context-set-transform-recursion'.",
+                                     "This procedure transforms the specified item. If a selection exists 
and the item is a drawable, the portion of the drawable which lies under the selection is cut from the 
drawable and made into a floating selection which is then transformed. The transformation is done by 
assembling a 3x3 matrix from the coefficients passed. The return value is the ID of the transformed item. If 
there was no selection or the item is not a drawable, this will be equal to the item ID supplied as input. 
Otherwise, this will be the newly created and transformed drawable. This procedure is affected by the 
following context setters: 'gimp-context-set-interpolation', 'gimp-context-set-transform-direction', 
'gimp-context-set-transform-resize'.",
                                      "Michael Natterer <mitch gimp org>",
                                      "Michael Natterer",
                                      "2010",
diff --git a/app/pdb/transform-tools-cmds.c b/app/pdb/transform-tools-cmds.c
index eb575d8..4f70917 100644
--- a/app/pdb/transform-tools-cmds.c
+++ b/app/pdb/transform-tools-cmds.c
@@ -176,7 +176,7 @@ perspective_invoker (GimpProcedure         *procedure,
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix,
                                                     GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     FALSE, progress))
                 {
                   success = FALSE;
@@ -186,7 +186,7 @@ perspective_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation, 3,
+                                   interpolation,
                                    FALSE, progress);
             }
 
@@ -260,7 +260,7 @@ rotate_invoker (GimpProcedure         *procedure,
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix,
                                                     GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     FALSE, progress))
                 {
                   success = FALSE;
@@ -270,7 +270,7 @@ rotate_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation, 3,
+                                   interpolation,
                                    FALSE, progress);
             }
 
@@ -351,7 +351,7 @@ scale_invoker (GimpProcedure         *procedure,
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix,
                                                     GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     FALSE, progress))
                 {
                   success = FALSE;
@@ -361,7 +361,7 @@ scale_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation, 3,
+                                   interpolation,
                                    FALSE, progress);
             }
 
@@ -437,7 +437,7 @@ shear_invoker (GimpProcedure         *procedure,
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix,
                                                     GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     FALSE, progress))
                 {
                   success = FALSE;
@@ -447,7 +447,7 @@ shear_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation, 3,
+                                   interpolation,
                                    FALSE, progress);
             }
 
@@ -527,7 +527,7 @@ transform_2d_invoker (GimpProcedure         *procedure,
             {
               if (! gimp_drawable_transform_affine (drawable, context,
                                                     &matrix, GIMP_TRANSFORM_FORWARD,
-                                                    interpolation_type, 3,
+                                                    interpolation_type,
                                                     FALSE, progress))
                 {
                   success = FALSE;
@@ -537,7 +537,7 @@ transform_2d_invoker (GimpProcedure         *procedure,
             {
               gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                    GIMP_TRANSFORM_FORWARD,
-                                   interpolation, 3,
+                                   interpolation,
                                    FALSE, progress);
             }
 
diff --git a/app/text/gimptextlayer-transform.c b/app/text/gimptextlayer-transform.c
index cf316fd..a2c1a69 100644
--- a/app/text/gimptextlayer-transform.c
+++ b/app/text/gimptextlayer-transform.c
@@ -143,7 +143,6 @@ gimp_text_layer_transform (GimpItem               *item,
                            GimpTransformDirection  direction,
                            GimpInterpolationType   interpolation_type,
                            gboolean                supersample,
-                           gint                    recursion_level,
                            GimpTransformResize     clip_result,
                            GimpProgress           *progress)
 {
diff --git a/app/text/gimptextlayer-transform.h b/app/text/gimptextlayer-transform.h
index 1f21b05..02de837 100644
--- a/app/text/gimptextlayer-transform.h
+++ b/app/text/gimptextlayer-transform.h
@@ -46,7 +46,6 @@ void  gimp_text_layer_transform (GimpItem               *item,
                                  GimpTransformDirection  direction,
                                  GimpInterpolationType   interpolation_type,
                                  gboolean                supersample,
-                                 gint                    recursion_level,
                                  GimpTransformResize     clip_result,
                                  GimpProgress           *progress);
 
diff --git a/app/tools/gimptransformoptions.c b/app/tools/gimptransformoptions.c
index 503ec11..a3fb967 100644
--- a/app/tools/gimptransformoptions.c
+++ b/app/tools/gimptransformoptions.c
@@ -199,7 +199,6 @@ gimp_transform_options_class_init (GimpTransformOptionsClass *klass)
 static void
 gimp_transform_options_init (GimpTransformOptions *options)
 {
-  options->recursion_level = 3;
 }
 
 static void
diff --git a/app/tools/gimptransformoptions.h b/app/tools/gimptransformoptions.h
index 0f92347..6dfffa7 100644
--- a/app/tools/gimptransformoptions.h
+++ b/app/tools/gimptransformoptions.h
@@ -40,7 +40,6 @@ struct _GimpTransformOptions
   GimpTransformType         type;
   GimpTransformDirection    direction;
   GimpInterpolationType     interpolation;
-  gint                      recursion_level;
   GimpTransformResize       clip;
   gboolean                  show_preview;
   gdouble                   preview_opacity;
diff --git a/app/tools/gimptransformtool.c b/app/tools/gimptransformtool.c
index e4e3366..a3eef19 100644
--- a/app/tools/gimptransformtool.c
+++ b/app/tools/gimptransformtool.c
@@ -1284,7 +1284,6 @@ gimp_transform_tool_real_transform (GimpTransformTool *tr_tool,
                                 &tr_tool->transform,
                                 options->direction,
                                 options->interpolation,
-                                options->recursion_level,
                                 clip,
                                 progress);
 
@@ -1309,7 +1308,6 @@ gimp_transform_tool_real_transform (GimpTransformTool *tr_tool,
                                                    &tr_tool->transform,
                                                    options->direction,
                                                    options->interpolation,
-                                                   options->recursion_level,
                                                    clip,
                                                    new_offset_x,
                                                    new_offset_y,
@@ -1328,7 +1326,6 @@ gimp_transform_tool_real_transform (GimpTransformTool *tr_tool,
                            &tr_tool->transform,
                            options->direction,
                            options->interpolation,
-                           options->recursion_level,
                            clip,
                            progress);
     }
diff --git a/app/vectors/gimpvectors.c b/app/vectors/gimpvectors.c
index fb1d970..ce9caf5 100644
--- a/app/vectors/gimpvectors.c
+++ b/app/vectors/gimpvectors.c
@@ -106,7 +106,6 @@ static void       gimp_vectors_transform     (GimpItem          *item,
                                               const GimpMatrix3 *matrix,
                                               GimpTransformDirection direction,
                                               GimpInterpolationType interp_type,
-                                              gint               recursion_level,
                                               GimpTransformResize   clip_result,
                                               GimpProgress      *progress);
 static gboolean   gimp_vectors_stroke        (GimpItem          *item,
@@ -511,7 +510,6 @@ gimp_vectors_transform (GimpItem               *item,
                         const GimpMatrix3      *matrix,
                         GimpTransformDirection  direction,
                         GimpInterpolationType   interpolation_type,
-                        gint                    recursion_level,
                         GimpTransformResize     clip_result,
                         GimpProgress           *progress)
 {
diff --git a/libgimp/gimpcontext_pdb.c b/libgimp/gimpcontext_pdb.c
index c60e9ee..0241b33 100644
--- a/libgimp/gimpcontext_pdb.c
+++ b/libgimp/gimpcontext_pdb.c
@@ -1940,13 +1940,9 @@ gimp_context_set_transform_resize (GimpTransformResize transform_resize)
 /**
  * gimp_context_get_transform_recursion:
  *
- * Get the transform supersampling recursion.
+ * Deprecated: There is no replacement for this procedure.
  *
- * This procedure returns the transform supersampling recursion level.
- *
- * Returns: The transform recursion level.
- *
- * Since: GIMP 2.8
+ * Returns: This returns always 3 and is meaningless.
  **/
 gint
 gimp_context_get_transform_recursion (void)
@@ -1969,22 +1965,11 @@ gimp_context_get_transform_recursion (void)
 
 /**
  * gimp_context_set_transform_recursion:
- * @transform_recursion: The transform recursion level.
+ * @transform_recursion: This parameter is ignored.
  *
- * Set the transform supersampling recursion.
- *
- * This procedure modifies the transform supersampling recursion level
- * setting. Whether or not a transformation does supersampling is
- * determined by the interplolation type. The recursion level defaults
- * to 3, which is a nice default value. This setting affects affects
- * the following procedures: gimp_item_transform_flip(),
- * gimp_item_transform_perspective(), gimp_item_transform_rotate(),
- * gimp_item_transform_scale(), gimp_item_transform_shear(),
- * gimp_item_transform_2d(), gimp_item_transform_matrix().
+ * Deprecated: There is no replacement for this procedure.
  *
  * Returns: TRUE on success.
- *
- * Since: GIMP 2.8
  **/
 gboolean
 gimp_context_set_transform_recursion (gint transform_recursion)
diff --git a/libgimp/gimpcontext_pdb.h b/libgimp/gimpcontext_pdb.h
index 6809e22..90a524b 100644
--- a/libgimp/gimpcontext_pdb.h
+++ b/libgimp/gimpcontext_pdb.h
@@ -92,7 +92,9 @@ GimpTransformDirection gimp_context_get_transform_direction   (void);
 gboolean               gimp_context_set_transform_direction   (GimpTransformDirection    
transform_direction);
 GimpTransformResize    gimp_context_get_transform_resize      (void);
 gboolean               gimp_context_set_transform_resize      (GimpTransformResize       transform_resize);
+GIMP_DEPRECATED
 gint                   gimp_context_get_transform_recursion   (void);
+GIMP_DEPRECATED
 gboolean               gimp_context_set_transform_recursion   (gint                      
transform_recursion);
 gdouble                gimp_context_get_ink_size              (void);
 gboolean               gimp_context_set_ink_size              (gdouble                   size);
diff --git a/libgimp/gimpdrawabletransform_pdb.c b/libgimp/gimpdrawabletransform_pdb.c
index 01e8819..aa8d247 100644
--- a/libgimp/gimpdrawabletransform_pdb.c
+++ b/libgimp/gimpdrawabletransform_pdb.c
@@ -85,8 +85,8 @@ gimp_drawable_transform_flip_simple (gint32              drawable_ID,
  * @y1: vert. coord. of other end of axis.
  * @transform_direction: Direction of transformation.
  * @interpolation: Type of interpolation.
- * @supersample: This parameter is ignored, supersampling is performed based on the interpolation type.
- * @recursion_level: Maximum recursion level used for supersampling (3 is a nice value).
+ * @supersample: This parameter is ignored.
+ * @recursion_level: This parameter is ignored.
  * @clip_result: Whether to clip results.
  *
  * Deprecated: Use gimp_item_transform_flip() instead.
@@ -194,8 +194,8 @@ gimp_drawable_transform_flip_default (gint32   drawable_ID,
  * @y3: The new y coordinate of lower-right corner of original bounding box.
  * @transform_direction: Direction of transformation.
  * @interpolation: Type of interpolation.
- * @supersample: This parameter is ignored, supersampling is performed based on the interpolation type.
- * @recursion_level: Maximum recursion level used for supersampling (3 is a nice value).
+ * @supersample: This parameter is ignored.
+ * @recursion_level: This parameter is ignored.
  * @clip_result: How to clip results.
  *
  * Deprecated: Use gimp_item_transform_perspective() instead.
@@ -364,8 +364,8 @@ gimp_drawable_transform_rotate_simple (gint32           drawable_ID,
  * @center_y: The vert. coordinate of the center of rotation.
  * @transform_direction: Direction of transformation.
  * @interpolation: Type of interpolation.
- * @supersample: This parameter is ignored, supersampling is performed based on the interpolation type.
- * @recursion_level: Maximum recursion level used for supersampling (3 is a nice value).
+ * @supersample: This parameter is ignored.
+ * @recursion_level: This parameter is ignored.
  * @clip_result: How to clip results.
  *
  * Deprecated: Use gimp_item_transform_rotate() instead.
@@ -469,8 +469,8 @@ gimp_drawable_transform_rotate_default (gint32              drawable_ID,
  * @y1: The new y coordinate of the lower-right corner of the scaled region.
  * @transform_direction: Direction of transformation.
  * @interpolation: Type of interpolation.
- * @supersample: This parameter is ignored, supersampling is performed based on the interpolation type.
- * @recursion_level: Maximum recursion level used for supersampling (3 is a nice value).
+ * @supersample: This parameter is ignored.
+ * @recursion_level: This parameter is ignored.
  * @clip_result: How to clip results.
  *
  * Deprecated: Use gimp_item_transform_scale() instead.
@@ -572,8 +572,8 @@ gimp_drawable_transform_scale_default (gint32              drawable_ID,
  * @magnitude: The magnitude of the shear.
  * @transform_direction: Direction of transformation.
  * @interpolation: Type of interpolation.
- * @supersample: This parameter is ignored, supersampling is performed based on the interpolation type.
- * @recursion_level: Maximum recursion level used for supersampling (3 is a nice value).
+ * @supersample: This parameter is ignored.
+ * @recursion_level: This parameter is ignored.
  * @clip_result: How to clip results.
  *
  * Deprecated: Use gimp_item_transform_shear() instead.
@@ -670,8 +670,8 @@ gimp_drawable_transform_shear_default (gint32              drawable_ID,
  * @dest_y: Y coordinate of where the center goes.
  * @transform_direction: Direction of transformation.
  * @interpolation: Type of interpolation.
- * @supersample: This parameter is ignored, supersampling is performed based on the interpolation type.
- * @recursion_level: Maximum recursion level used for supersampling (3 is a nice value).
+ * @supersample: This parameter is ignored.
+ * @recursion_level: This parameter is ignored.
  * @clip_result: How to clip results.
  *
  * Deprecated: Use gimp_item_transform_2d() instead.
@@ -795,8 +795,8 @@ gimp_drawable_transform_2d_default (gint32              drawable_ID,
  * @coeff_2_2: coefficient (2,2) of the transformation matrix.
  * @transform_direction: Direction of transformation.
  * @interpolation: Type of interpolation.
- * @supersample: This parameter is ignored, supersampling is performed based on the interpolation type.
- * @recursion_level: Maximum recursion level used for supersampling (3 is a nice value).
+ * @supersample: This parameter is ignored.
+ * @recursion_level: This parameter is ignored.
  * @clip_result: How to clip results.
  *
  * Deprecated: Use gimp_item_transform_matrix() instead.
diff --git a/libgimp/gimpitemtransform_pdb.c b/libgimp/gimpitemtransform_pdb.c
index 0326792..902a1c0 100644
--- a/libgimp/gimpitemtransform_pdb.c
+++ b/libgimp/gimpitemtransform_pdb.c
@@ -106,8 +106,7 @@ gimp_item_transform_flip_simple (gint32              item_ID,
  * drawable. This procedure is affected by the following context
  * setters: gimp_context_set_interpolation(),
  * gimp_context_set_transform_direction(),
- * gimp_context_set_transform_resize(),
- * gimp_context_set_transform_recursion().
+ * gimp_context_set_transform_resize().
  *
  * Returns: The flipped item.
  *
@@ -173,8 +172,7 @@ gimp_item_transform_flip (gint32  item_ID,
  * projected via a perspective transform. This procedure is affected by
  * the following context setters: gimp_context_set_interpolation(),
  * gimp_context_set_transform_direction(),
- * gimp_context_set_transform_resize(),
- * gimp_context_set_transform_recursion().
+ * gimp_context_set_transform_resize().
  *
  * Returns: The newly mapped item.
  *
@@ -290,8 +288,7 @@ gimp_item_transform_rotate_simple (gint32           item_ID,
  * rotated drawable. This procedure is affected by the following
  * context setters: gimp_context_set_interpolation(),
  * gimp_context_set_transform_direction(),
- * gimp_context_set_transform_resize(),
- * gimp_context_set_transform_recursion().
+ * gimp_context_set_transform_resize().
  *
  * Returns: The rotated item.
  *
@@ -345,8 +342,7 @@ gimp_item_transform_rotate (gint32   item_ID,
  * drawable. This procedure is affected by the following context
  * setters: gimp_context_set_interpolation(),
  * gimp_context_set_transform_direction(),
- * gimp_context_set_transform_resize(),
- * gimp_context_set_transform_recursion().
+ * gimp_context_set_transform_resize().
  *
  * Returns: The scaled item.
  *
@@ -402,8 +398,7 @@ gimp_item_transform_scale (gint32  item_ID,
  * by. This procedure is affected by the following context setters:
  * gimp_context_set_interpolation(),
  * gimp_context_set_transform_direction(),
- * gimp_context_set_transform_resize(),
- * gimp_context_set_transform_recursion().
+ * gimp_context_set_transform_resize().
  *
  * Returns: The sheared item.
  *
@@ -459,8 +454,7 @@ gimp_item_transform_shear (gint32              item_ID,
  * and transformed drawable. This procedure is affected by the
  * following context setters: gimp_context_set_interpolation(),
  * gimp_context_set_transform_direction(),
- * gimp_context_set_transform_resize(),
- * gimp_context_set_transform_recursion().
+ * gimp_context_set_transform_resize().
  *
  * Returns: The transformed item.
  *
@@ -526,8 +520,7 @@ gimp_item_transform_2d (gint32  item_ID,
  * and transformed drawable. This procedure is affected by the
  * following context setters: gimp_context_set_interpolation(),
  * gimp_context_set_transform_direction(),
- * gimp_context_set_transform_resize(),
- * gimp_context_set_transform_recursion().
+ * gimp_context_set_transform_resize().
  *
  * Returns: The transformed item.
  *
diff --git a/tools/pdbgen/pdb/context.pdb b/tools/pdbgen/pdb/context.pdb
index 7369a31..a1c7c4b 100644
--- a/tools/pdbgen/pdb/context.pdb
+++ b/tools/pdbgen/pdb/context.pdb
@@ -1656,59 +1656,33 @@ CODE
 }
 
 sub context_get_transform_recursion {
-    $blurb = 'Get the transform supersampling recursion.';
-
-    $help = <<'HELP';
-This procedure returns the transform supersampling recursion level.
-HELP
-
-    &mitch_pdb_misc('2010', '2.8');
+    &std_pdb_deprecated();
 
     @outargs = (
         { name => 'transform_recursion', type => '1 <= int32',
-          desc => 'The transform recursion level' }
+          desc => 'This returns always 3 and is meaningless' }
     );
 
     %invoke = (
        code => <<'CODE'
 {
-  g_object_get (context,
-                "transform-recursion", &transform_recursion,
-                NULL);
+  transform_recursion = 3;
 }
 CODE
     );
 }
 
 sub context_set_transform_recursion {
-    $blurb = 'Set the transform supersampling recursion.';
-
-    $help = <<'HELP';
-This procedure modifies the transform supersampling recursion level
-setting. Whether or not a transformation does supersampling is
-determined by the interplolation type. The recursion level defaults
-to 3, which is a nice default value.
-
-This setting affects affects the following procedures:
-gimp_item_transform_flip(), gimp_item_transform_perspective(),
-gimp_item_transform_rotate(), gimp_item_transform_scale(),
-gimp_item_transform_shear(), gimp_item_transform_2d(),
-gimp_item_transform_matrix().
-HELP
-
-    &mitch_pdb_misc('2010', '2.8');
+    &std_pdb_deprecated();
 
     @inargs = (
-        { name => 'transform_recursion', type => '1 <= int32',
-          desc => 'The transform recursion level' }
+        { name => 'transform_recursion', type => '1 <= int32', dead => 1,
+          desc => 'This parameter is ignored' }
     );
 
     %invoke = (
        code => <<'CODE'
 {
-  g_object_set (context,
-                "transform-recursion", transform_recursion,
-                NULL);
 }
 CODE
     );
diff --git a/tools/pdbgen/pdb/drawable_transform.pdb b/tools/pdbgen/pdb/drawable_transform.pdb
index faf6144..d340687 100644
--- a/tools/pdbgen/pdb/drawable_transform.pdb
+++ b/tools/pdbgen/pdb/drawable_transform.pdb
@@ -64,7 +64,7 @@ $assemble_matrix
         {
           if (! gimp_drawable_transform_affine (drawable, context,
                                                 &matrix, transform_direction,
-                                                interpolation, recursion_level,
+                                                interpolation,
                                                 clip_result, progress))
             {
               success = FALSE;
@@ -74,7 +74,7 @@ $assemble_matrix
         {
           gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                transform_direction,
-                               interpolation, recursion_level,
+                               interpolation,
                                clip_result, progress);
         }
 
@@ -131,7 +131,7 @@ $assemble_matrix
         {
           if (! gimp_drawable_transform_affine (drawable, context,
                                                 &matrix, GIMP_TRANSFORM_FORWARD,
-                                                interpolation_type, 3,
+                                                interpolation_type,
                                                 clip_result, progress))
             {
               success = FALSE;
@@ -141,7 +141,7 @@ $assemble_matrix
         {
           gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                GIMP_TRANSFORM_FORWARD,
-                               interpolation_type, 3,
+                               interpolation_type,
                                clip_result, progress);
         }
     
@@ -235,9 +235,9 @@ sub drawable_transform_flip {
        { name => 'interpolation', type => 'enum GimpInterpolationType',
          desc => 'Type of interpolation' },
        { name => 'supersample', type => 'boolean', dead => 1,
-         desc => 'This parameter is ignored, supersampling is performed based on the interpolation type' },
-       { name => 'recursion_level', type => '1 <= int32',
-         desc => 'Maximum recursion level used for supersampling (3 is a nice value)' },
+         desc => 'This parameter is ignored' },
+       { name => 'recursion_level', type => '1 <= int32', dead => 1,
+         desc => 'This parameter is ignored' },
        { name => 'clip_result', type => 'boolean',
          desc => 'Whether to clip results' }
     );
@@ -325,9 +325,9 @@ sub drawable_transform_perspective {
        { name => 'interpolation', type => 'enum GimpInterpolationType',
          desc => 'Type of interpolation' },
        { name => 'supersample', type => 'boolean', dead => 1,
-         desc => 'This parameter is ignored, supersampling is performed based on the interpolation type' },
-       { name => 'recursion_level', type => '1 <= int32',
-         desc => 'Maximum recursion level used for supersampling (3 is a nice value)' },
+         desc => 'This parameter is ignored' },
+       { name => 'recursion_level', type => '1 <= int32', dead => 1,
+         desc => 'This parameter is ignored' },
        { name => 'clip_result', type => 'enum GimpTransformResize',
          desc => 'How to clip results' }
     );
@@ -483,9 +483,9 @@ sub drawable_transform_rotate {
        { name => 'interpolation', type => 'enum GimpInterpolationType',
          desc => 'Type of interpolation' },
        { name => 'supersample', type => 'boolean', dead => 1,
-         desc => 'This parameter is ignored, supersampling is performed based on the interpolation type' },
-       { name => 'recursion_level', type => '1 <= int32',
-         desc => 'Maximum recursion level used for supersampling (3 is a nice value)' },
+         desc => 'This parameter is ignored' },
+       { name => 'recursion_level', type => '1 <= int32', dead => 1,
+         desc => 'This parameter is ignored' },
        { name => 'clip_result', type => 'enum GimpTransformResize',
          desc => 'How to clip results' }
     );
@@ -569,9 +569,9 @@ sub drawable_transform_scale {
        { name => 'interpolation', type => 'enum GimpInterpolationType',
          desc => 'Type of interpolation' },
        { name => 'supersample', type => 'boolean', dead => 1,
-         desc => 'This parameter is ignored, supersampling is performed based on the interpolation type' },
-       { name => 'recursion_level', type => '1 <= int32',
-         desc => 'Maximum recursion level used for supersampling (3 is a nice value)' },
+         desc => 'This parameter is ignored' },
+       { name => 'recursion_level', type => '1 <= int32', dead => 1,
+         desc => 'This parameter is ignored' },
        { name => 'clip_result', type => 'enum GimpTransformResize',
          desc => 'How to clip results' }
     );
@@ -646,9 +646,9 @@ sub drawable_transform_shear {
        { name => 'interpolation', type => 'enum GimpInterpolationType',
          desc => 'Type of interpolation' },
        { name => 'supersample', type => 'boolean', dead => 1,
-         desc => 'This parameter is ignored, supersampling is performed based on the interpolation type' },
-       { name => 'recursion_level', type => '1 <= int32',
-         desc => 'Maximum recursion level used for supersampling (3 is a nice value)' },
+         desc => 'This parameter is ignored' },
+       { name => 'recursion_level', type => '1 <= int32', dead => 1,
+         desc => 'This parameter is ignored' },
        { name => 'clip_result', type => 'enum GimpTransformResize',
          desc => 'How to clip results' }
     );
@@ -725,9 +725,9 @@ sub drawable_transform_2d {
        { name => 'interpolation', type => 'enum GimpInterpolationType',
          desc => 'Type of interpolation' },
        { name => 'supersample', type => 'boolean', dead => 1,
-         desc => 'This parameter is ignored, supersampling is performed based on the interpolation type' },
-       { name => 'recursion_level', type => '1 <= int32',
-         desc => 'Maximum recursion level used for supersampling (3 is a nice value)' },
+         desc => 'This parameter is ignored' },
+       { name => 'recursion_level', type => '1 <= int32', dead => 1,
+         desc => 'This parameter is ignored' },
        { name => 'clip_result', type => 'enum GimpTransformResize',
          desc => 'How to clip results' }
     );
@@ -819,9 +819,9 @@ sub drawable_transform_matrix {
        { name => 'interpolation', type => 'enum GimpInterpolationType',
          desc => 'Type of interpolation' },
        { name => 'supersample', type => 'boolean', dead => 1,
-         desc => 'This parameter is ignored, supersampling is performed based on the interpolation type' },
-       { name => 'recursion_level', type => '1 <= int32',
-         desc => 'Maximum recursion level used for supersampling (3 is a nice value)' },
+         desc => 'This parameter is ignored' },
+       { name => 'recursion_level', type => '1 <= int32', dead => 1,
+         desc => 'This parameter is ignored' },
        { name => 'clip_result', type => 'enum GimpTransformResize',
          desc => 'How to clip results' }
     );
diff --git a/tools/pdbgen/pdb/item_transform.pdb b/tools/pdbgen/pdb/item_transform.pdb
index cee4b52..aee0f1d 100644
--- a/tools/pdbgen/pdb/item_transform.pdb
+++ b/tools/pdbgen/pdb/item_transform.pdb
@@ -66,7 +66,6 @@ $assemble_matrix
                                                      context, &matrix,
                                                      pdb_context->transform_direction,
                                                      pdb_context->interpolation,
-                                                     pdb_context->transform_recursion,
                                                      pdb_context->transform_resize,
                                                      progress);
 
@@ -80,7 +79,6 @@ $assemble_matrix
           gimp_item_transform (item, context, &matrix,
                                pdb_context->transform_direction,
                                pdb_context->interpolation,
-                               pdb_context->transform_recursion,
                                pdb_context->transform_resize,
                                progress);
         }
@@ -201,7 +199,7 @@ Otherwise, this will be the newly created and flipped drawable.
 
 This procedure is affected by the following context setters:
 gimp_context_set_interpolation(), gimp_context_set_transform_direction(),
-gimp_context_set_transform_resize(), gimp_context_set_transform_recursion().
+gimp_context_set_transform_resize().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
@@ -256,7 +254,7 @@ have been projected via a perspective transform.
 
 This procedure is affected by the following context setters:
 gimp_context_set_interpolation(), gimp_context_set_transform_direction(),
-gimp_context_set_transform_resize(), gimp_context_set_transform_recursion().
+gimp_context_set_transform_resize().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
@@ -413,7 +411,7 @@ input. Otherwise, this will be the newly created and rotated drawable.
 
 This procedure is affected by the following context setters:
 gimp_context_set_interpolation(), gimp_context_set_transform_direction(),
-gimp_context_set_transform_resize(), gimp_context_set_transform_recursion().
+gimp_context_set_transform_resize().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
@@ -462,7 +460,7 @@ input. Otherwise, this will be the newly created and scaled drawable.
 
 This procedure is affected by the following context setters:
 gimp_context_set_interpolation(), gimp_context_set_transform_direction(),
-gimp_context_set_transform_resize(), gimp_context_set_transform_recursion().
+gimp_context_set_transform_resize().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
@@ -517,7 +515,7 @@ positive or negative and indicates the extent (in pixels) to shear by.
 
 This procedure is affected by the following context setters:
 gimp_context_set_interpolation(), gimp_context_set_transform_direction(),
-gimp_context_set_transform_resize(), gimp_context_set_transform_recursion().
+gimp_context_set_transform_resize().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
@@ -564,7 +562,7 @@ and transformed drawable.
 
 This procedure is affected by the following context setters:
 gimp_context_set_interpolation(), gimp_context_set_transform_direction(),
-gimp_context_set_transform_resize(), gimp_context_set_transform_recursion().
+gimp_context_set_transform_resize().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
@@ -619,7 +617,7 @@ drawable.
 
 This procedure is affected by the following context setters:
 gimp_context_set_interpolation(), gimp_context_set_transform_direction(),
-gimp_context_set_transform_resize(), gimp_context_set_transform_recursion().
+gimp_context_set_transform_resize().
 HELP
 
     &mitch_pdb_misc('2010', '2.8');
diff --git a/tools/pdbgen/pdb/transform_tools.pdb b/tools/pdbgen/pdb/transform_tools.pdb
index 1912be5..83dfe9d 100644
--- a/tools/pdbgen/pdb/transform_tools.pdb
+++ b/tools/pdbgen/pdb/transform_tools.pdb
@@ -148,7 +148,7 @@ sub perspective {
           if (! gimp_drawable_transform_affine (drawable, context,
                                                 &matrix,
                                                 GIMP_TRANSFORM_FORWARD,
-                                                interpolation_type, 3,
+                                                interpolation_type,
                                                 FALSE, progress))
             {
               success = FALSE;
@@ -158,7 +158,7 @@ sub perspective {
         {
           gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                GIMP_TRANSFORM_FORWARD,
-                               interpolation, 3,
+                               interpolation,
                                FALSE, progress);
         }
 
@@ -226,7 +226,7 @@ sub rotate {
           if (! gimp_drawable_transform_affine (drawable, context,
                                                 &matrix,
                                                 GIMP_TRANSFORM_FORWARD,
-                                                interpolation_type, 3,
+                                                interpolation_type,
                                                 FALSE, progress))
             {
               success = FALSE;
@@ -236,7 +236,7 @@ sub rotate {
         {
           gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                GIMP_TRANSFORM_FORWARD,
-                               interpolation, 3,
+                               interpolation,
                                FALSE, progress);
         }
 
@@ -315,7 +315,7 @@ sub scale {
           if (! gimp_drawable_transform_affine (drawable, context,
                                                 &matrix,
                                                 GIMP_TRANSFORM_FORWARD,
-                                                interpolation_type, 3,
+                                                interpolation_type,
                                                 FALSE, progress))
             {
               success = FALSE;
@@ -325,7 +325,7 @@ sub scale {
         {
           gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                GIMP_TRANSFORM_FORWARD,
-                               interpolation, 3,
+                               interpolation,
                                FALSE, progress);
         }
 
@@ -396,7 +396,7 @@ sub shear {
           if (! gimp_drawable_transform_affine (drawable, context,
                                                 &matrix,
                                                 GIMP_TRANSFORM_FORWARD,
-                                                interpolation_type, 3,
+                                                interpolation_type,
                                                 FALSE, progress))
             {
               success = FALSE;
@@ -406,7 +406,7 @@ sub shear {
         {
           gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                GIMP_TRANSFORM_FORWARD,
-                               interpolation, 3,
+                               interpolation,
                                FALSE, progress);
         }
 
@@ -480,7 +480,7 @@ sub transform_2d {
         {
           if (! gimp_drawable_transform_affine (drawable, context,
                                                 &matrix, GIMP_TRANSFORM_FORWARD,
-                                                interpolation_type, 3,
+                                                interpolation_type,
                                                 FALSE, progress))
             {
               success = FALSE;
@@ -490,7 +490,7 @@ sub transform_2d {
         {
           gimp_item_transform (GIMP_ITEM (drawable), context, &matrix,
                                GIMP_TRANSFORM_FORWARD,
-                               interpolation, 3,
+                               interpolation,
                                FALSE, progress);
         }
 


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