[gegl] little-planet: fix reference composition, and add a compat-name



commit 9bd3d353057156975fefc9b67d00751150ab8248
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Aug 16 16:31:29 2018 +0200

    little-planet: fix reference composition, and add a compat-name
    
    permit gegl:little-planet in addition to gegl:stereographic-projection
    also use this op in its reference composition - it was still rendering
    panorama-projection.

 operations/common/little-planet.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/operations/common/little-planet.c b/operations/common/little-planet.c
index 117898490..85b2d67a1 100644
--- a/operations/common/little-planet.c
+++ b/operations/common/little-planet.c
@@ -466,7 +466,7 @@ process (GeglOperation       *operation,
 
 static gchar *composition = "<?xml version='1.0' encoding='UTF-8'?>"
     "<gegl>"
-    "<node operation='gegl:panorama-projection' width='200' height='200'/>"
+    "<node operation='gegl:stereographic-projection' width='200' height='200'/>"
     "<node operation='gegl:load'>"
     "  <params>"
     "    <param name='path'>standard-panorama.png</param>"
@@ -490,6 +490,7 @@ gegl_op_class_init (GeglOpClass *klass)
 
   gegl_operation_class_set_keys (operation_class,
     "name",                  "gegl:stereographic-projection",
+    "compat-name",           "gegl:little-planet",
     "title",                 _("Little Planet"),
     "reference-composition", composition,
     "position-dependent",    "true",


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