Commit 60777d50 authored by Tebjan Halm's avatar Tebjan Halm
Browse files

Merge pull request #179 from ubbn/master

Fix to #173: Sub elements in group element are not rendered
parents 8ef8a97a e3503b61
...@@ -801,8 +801,13 @@ namespace Svg ...@@ -801,8 +801,13 @@ namespace Svg
else else
{ {
var childPath = GetPaths(child, renderer); var childPath = GetPaths(child, renderer);
if(child.Transforms != null) if (childPath != null && childPath.PointCount > 0)
{
if (child.Transforms != null)
childPath.Transform(child.Transforms.GetMatrix()); childPath.Transform(child.Transforms.GetMatrix());
ret.AddPath(childPath, false);
}
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment