From 698b3ddd11396d17083046788c504e4b60245d73 Mon Sep 17 00:00:00 2001 From: Jon Dowland Date: Tue, 29 Jan 2008 21:55:37 +0000 Subject: [PATCH] Textures contain Patch objects, not lines of text --- tools/cleanroom/tmp_cleanui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cleanroom/tmp_cleanui.py b/tools/cleanroom/tmp_cleanui.py index 23528c07..b57321a5 100644 --- a/tools/cleanroom/tmp_cleanui.py +++ b/tools/cleanroom/tmp_cleanui.py @@ -35,7 +35,8 @@ class HellowWorldGTK: if len(line) == 0 or line[0] == ";" or line[0] == "#": continue elif line[0] == "*" and current: - current.patches.append(line) + junk,name,y,x= line.split() + current.patches.append(Patch(name,int(x),int(y))) else: line = line.split() if len(line) != 3: