From 1bd0f278d2a0fbd3b5e5eeed4166bb07da126398 Mon Sep 17 00:00:00 2001 From: Nikkel Mollenhauer <57323886+NikkelM@users.noreply.github.com> Date: Mon, 17 Nov 2025 16:42:45 +0000 Subject: [PATCH] Fixed transform_hull --- deppth2/texpacking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deppth2/texpacking.py b/deppth2/texpacking.py index 4aa1f28..9acb358 100644 --- a/deppth2/texpacking.py +++ b/deppth2/texpacking.py @@ -202,7 +202,7 @@ def transform_hull(hull, topLeft, size): def transform_point(point): x = point[0] - topLeft['x'] - round(size[0]/2.0) y = point[1] - topLeft['y'] - round(size[1]/2.0) - return [x, y] + return {'x': x, 'y': y} new_hull = [] for point in hull: