mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 20:14:37 +00:00
svg_loader: removing repeated lines
The clip-path and the mask attributes are both parsed in _attrParseGNode function, which is called in th _attrParseUseNode.
This commit is contained in:
parent
333ff25c7e
commit
4b0037fe6a
1 changed files with 0 additions and 4 deletions
|
@ -1900,10 +1900,6 @@ static bool _attrParseUseNode(void* data, const char* key, const char* value)
|
|||
//after the whole file is parsed
|
||||
_postponeCloneNode(loader, node, id);
|
||||
}
|
||||
} else if (!strcmp(key, "clip-path")) {
|
||||
_handleClipPathAttr(loader, node, value);
|
||||
} else if (!strcmp(key, "mask")) {
|
||||
_handleMaskAttr(loader, node, value);
|
||||
} else {
|
||||
return _attrParseGNode(data, key, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue