From 7994d70af4c8fecf206e82ad868db682d9cc24da Mon Sep 17 00:00:00 2001 From: Michael Dawson-Haggerty Date: Wed, 26 Feb 2025 15:25:32 -0500 Subject: [PATCH] fix svg transform bug --- trimesh/path/exchange/svg_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trimesh/path/exchange/svg_io.py b/trimesh/path/exchange/svg_io.py index 431c70013..c5e123bcc 100644 --- a/trimesh/path/exchange/svg_io.py +++ b/trimesh/path/exchange/svg_io.py @@ -85,7 +85,7 @@ def element_transform(e, max_depth=10): ("{*}circle", "{*}rect", "{*}line", "{*}polyline", "{*}polygon") ): shapes.append( - (shape.tag.rsplit("}", 1)[-1], shape.attrib, element_transform(element)) + (shape.tag.rsplit("}", 1)[-1], shape.attrib, element_transform(shape)) ) try: