Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ImportedProjects
SVG
Commits
a93cda4c
Unverified
Commit
a93cda4c
authored
6 years ago
by
mrbean-bremen
Browse files
Options
Download
Email Patches
Plain Diff
Check use element for ReferencedElement present before rendering it
- fixes #323 (caused crash)
parent
36881dd7
master
netstandard2
nuget2.4.2
nuget2.4.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/Document Structure/SvgUse.cs
+1
-1
Source/Document Structure/SvgUse.cs
with
1 addition
and
1 deletion
+1
-1
Source/Document Structure/SvgUse.cs
+
1
-
1
View file @
a93cda4c
...
...
@@ -124,7 +124,7 @@ namespace Svg
protected
override
void
Render
(
ISvgRenderer
renderer
)
{
if
(
this
.
Visible
&&
this
.
Displayable
&&
!
this
.
HasRecursiveReference
()
&&
this
.
PushTransforms
(
renderer
))
if
(
this
.
Visible
&&
this
.
Displayable
&&
this
.
ReferencedElement
!=
null
&&
!
this
.
HasRecursiveReference
()
&&
this
.
PushTransforms
(
renderer
))
{
this
.
SetClip
(
renderer
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help