diff options
-rw-r--r-- | contrib/inkscape/icon_workflow-plates_visibility.py | 2 | ||||
-rw-r--r-- | contrib/inkscape/icon_workflow-template_create.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/inkscape/icon_workflow-plates_visibility.py b/contrib/inkscape/icon_workflow-plates_visibility.py index 0dd4310..6961a7a 100644 --- a/contrib/inkscape/icon_workflow-plates_visibility.py +++ b/contrib/inkscape/icon_workflow-plates_visibility.py @@ -26,7 +26,7 @@ class MyEffect(inkex.Effect): dest="show", default=False, help="show or hide the plate layers") def effect(self): - plates_path = '//svg:g[@inkscape:groupmode="layer" and contains(@inkscape:label,"plate")]' + plates_path = '//svg:g[@inkscape:groupmode="layer" and contains(@inkscape:label,"baseplate")]' plates = self.document.getroot().xpath(plates_path, namespaces=inkex.NSS) for layer in plates: style = simplestyle.parseStyle(layer.get('style')) diff --git a/contrib/inkscape/icon_workflow-template_create.py b/contrib/inkscape/icon_workflow-template_create.py index 5a49347..9ae6469 100644 --- a/contrib/inkscape/icon_workflow-template_create.py +++ b/contrib/inkscape/icon_workflow-template_create.py @@ -69,7 +69,7 @@ class MyEffect(inkex.Effect): top = height * row left = width * column icon_layer = self.add_layer('icon %s' % icon) - plate = self.add_layer('plate %s' % icon, icon_layer) + plate = self.add_layer('baseplate %s' % icon, icon_layer) self.add_square(256, left + 20, top + 30, plate) self.add_square(48, left + 300, top + 50, plate) self.add_square(32, left + 300, top + 125, plate) |