X-Git-Url: https://git.ao2.it/flexagon-toolkit.git/blobdiff_plain/a0b453d3007220ba4e509db8c0bcbb09faf1d10d..382e2be48ae8f3914bb443f27f5091c730095e6c:/src/svg_tetraflexagon_editor.py diff --git a/src/svg_tetraflexagon_editor.py b/src/svg_tetraflexagon_editor.py index 0952e8a..6b57160 100755 --- a/src/svg_tetraflexagon_editor.py +++ b/src/svg_tetraflexagon_editor.py @@ -63,8 +63,6 @@ class SvgwriteTetraflexagonDiagram(TetraflexagonDiagram): fill_color=(0.5, 0.5, 0.5, 0.2)) self.backend.active_group = old_active_group - self.backend.active_group = old_active_group - # Draw the normal template for squares for square in self.tetraflexagon.squares: self.draw_square_template(square) @@ -99,7 +97,7 @@ class SvgwriteTetraflexagonDiagram(TetraflexagonDiagram): super(SvgwriteTetraflexagonDiagram, self).draw_tile_template(tile, cx, cy, theta) - # The tile outline in the active group's element is the only polygon + # The tile outline in the active group's element is the only rectangle # element, so get it and set its id so that it can be reused as # a clip-path for element in self.backend.active_group.elements: