From 19fc614d22ef81835d3e3a5b7be417d19c7933e4 Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Wed, 20 Jan 2016 02:08:40 -0500
Subject: [PATCH] add gui update for "opacity" attribute

---
 pd/src/g_template.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pd/src/g_template.c b/pd/src/g_template.c
index d6adfe64f..d11e6134c 100644
--- a/pd/src/g_template.c
+++ b/pd/src/g_template.c
@@ -3699,6 +3699,11 @@ static void svg_togui(t_svg *x, t_template *template, t_word *data)
             gui_f(fielddesc_getcoord(&x->x_vec[3], template, data, 1));
         }
     }
+    if (x->x_opacity.a_flag)
+    {
+        gui_s("opacity");
+        gui_f(fielddesc_getcoord(&x->x_opacity.a_attr, template, data, 1));
+    }
     if (x->x_type == gensym("polyline") ||
         x->x_type == gensym("polygon"))
     {
-- 
GitLab