Skip to content

Commit 1bd0f27

Browse files
authored
Fixed transform_hull
1 parent 826789b commit 1bd0f27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deppth2/texpacking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def transform_hull(hull, topLeft, size):
202202
def transform_point(point):
203203
x = point[0] - topLeft['x'] - round(size[0]/2.0)
204204
y = point[1] - topLeft['y'] - round(size[1]/2.0)
205-
return [x, y]
205+
return {'x': x, 'y': y}
206206

207207
new_hull = []
208208
for point in hull:

0 commit comments

Comments
 (0)