From eaf3c9f41f5faf2ba693d16abc259a48e8a021b8 Mon Sep 17 00:00:00 2001 From: John Smith Date: Tue, 30 Oct 2012 12:03:28 +0900 Subject: Fix for 1071328 : Inkscape encounters internal error when opening a valid SVG file (bzr r11853) --- src/sp-item-group.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/sp-item-group.cpp b/src/sp-item-group.cpp index b54ec65e2..de2c79ec6 100644 --- a/src/sp-item-group.cpp +++ b/src/sp-item-group.cpp @@ -766,7 +766,9 @@ void CGroup::_showChildren (Inkscape::Drawing &drawing, Inkscape::DrawingItem *a if (SP_IS_ITEM (o)) { child = SP_ITEM (o); ac = child->invoke_show (drawing, key, flags); - ai->appendChild(ac); + if (ac) { + ai->appendChild(ac); + } } l = g_slist_remove (l, o); } -- cgit v1.2.3