diff --git a/Effects/surface-lights.eff b/Effects/surface-lights.eff
index f10c0065a..7603f6c2d 100644
--- a/Effects/surface-lights.eff
+++ b/Effects/surface-lights.eff
@@ -50,10 +50,10 @@
false
-
+
point
diff --git a/Nasal/canvas/gui/Widget.nas b/Nasal/canvas/gui/Widget.nas
index 652da5c4b..95955bcd2 100644
--- a/Nasal/canvas/gui/Widget.nas
+++ b/Nasal/canvas/gui/Widget.nas
@@ -127,6 +127,10 @@ gui.Widget = {
if( me._view != nil and me._view.update != nil )
me._view.update(me);
},
+ visibilityChanged: func(visible)
+ {
+ me._view._root.setVisible(visible);
+ },
_setView: func(view)
{
me._view = view;
diff --git a/Nasal/canvas/svg.nas b/Nasal/canvas/svg.nas
index 7593b1eb9..955f2d46d 100644
--- a/Nasal/canvas/svg.nas
+++ b/Nasal/canvas/svg.nas
@@ -49,12 +49,18 @@ var parsesvg = func(group, path, options = nil)
var stack = [group];
var close_stack = []; # helper for check tag closing
+ var defs_stack = [];
+
var text = nil;
var tspans = nil;
# lookup table for element ids (for