Skip to content

Commit 349f016

Browse files
authored
Merge pull request #9 from SGG-Modding/NikkelM-transform-hull
Fixed hulls dictionary in manifest
2 parents 826789b + 1bd0f27 commit 349f016

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)