Commit de27baf0 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Bugfix - scaleOffsetXform was failing when passed tuples

parent 7e72d699
......@@ -62,6 +62,8 @@ def scaleOffsetXform(scales, offsets):
if not isinstance(scales, collections.Sequence): scales = [scales]
if not isinstance(offsets, collections.Sequence): offsets = [offsets]
if not isinstance(scales, list): scales = list(scales)
if not isinstance(offsets, list): offsets = list(offsets)
lens = len(scales)
leno = len(offsets)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment