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
...@@ -800,9 +800,14 @@ namespace Svg ...@@ -800,9 +800,14 @@ namespace Svg
} }
else else
{ {
var childPath = GetPaths(child, renderer); var childPath = GetPaths(child, renderer);
if(child.Transforms != null) if (childPath != null && childPath.PointCount > 0)
childPath.Transform(child.Transforms.GetMatrix()); {
if (child.Transforms != null)
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