From 04cf853677d2feded25b6bb6a9ce1325d48b8ca0 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Thu, 23 Apr 2020 18:20:50 -0700 Subject: [PATCH] Recreate stringified path in __init__ for _path_in. --- pcbmode/utils/svgpath.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbmode/utils/svgpath.py b/pcbmode/utils/svgpath.py index 4ef7ef41..e7ad9724 100644 --- a/pcbmode/utils/svgpath.py +++ b/pcbmode/utils/svgpath.py @@ -50,6 +50,8 @@ def __init__(self, path_in, trans_dict={}): self._p_r_path = self._p_path_to_relative(self._p_path) else: self._p_r_path = path_in + self._stringify_path() + self._path_in = self._s_r_path # Transform path self._t_dict = trans_dict