svg_loader: allow multiple defs tags
authorMichal Maciola <71131832+mmaciola@users.noreply.github.com>
Thu, 29 Jul 2021 02:47:33 +0000 (04:47 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 30 Jul 2021 00:43:30 +0000 (09:43 +0900)
commit70e452b1967a19035725b0ffb60a6ea8b6b95338
tree4a69df2f17d90117285a3f6a328c246588402868
parent1902cefe9730e055fe9ca75df29eb93fdd79a1ed
svg_loader: allow multiple defs tags

If svg contained multiple defs tags only the first one was handled correctly.
Every next 'defs' tag was skipped and its inner elements parsed as it was
outside the defs.
src/loaders/svg/tvgSvgLoader.cpp