summaryrefslogtreecommitdiff
path: root/lib/svg/realistic_rendering.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-25 11:47:48 -0400
committerLex Neva <github.com@lexneva.name>2018-08-25 11:47:48 -0400
commit11d3cea80caeb9738a2eb02473801487c2acba3b (patch)
tree13510f23e5041628ef96997f14d852482ff04000 /lib/svg/realistic_rendering.py
parentc5bd1878846c17309c99ad7554d4645088de9629 (diff)
parent6a16e90081e619eac5921bd8614c0c46dc83f852 (diff)
Merge remote-tracking branch 'origin/master' into simulator-timeline
Diffstat (limited to 'lib/svg/realistic_rendering.py')
-rw-r--r--lib/svg/realistic_rendering.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/svg/realistic_rendering.py b/lib/svg/realistic_rendering.py
index e31534da..73da3a09 100644
--- a/lib/svg/realistic_rendering.py
+++ b/lib/svg/realistic_rendering.py
@@ -2,7 +2,7 @@ import simplepath
import math
from .units import PIXELS_PER_MM
-from ..utils import cache, Point
+from ..utils import Point
# The stitch vector path looks like this:
# _______
@@ -102,6 +102,7 @@ realistic_filter = """
</filter>
"""
+
def realistic_stitch(start, end):
"""Generate a stitch vector path given a start and end point."""