aboutsummaryrefslogtreecommitdiff
path: root/graphics/threeDS/files/patch-threeDS.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/threeDS/files/patch-threeDS.py')
-rw-r--r--graphics/threeDS/files/patch-threeDS.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/graphics/threeDS/files/patch-threeDS.py b/graphics/threeDS/files/patch-threeDS.py
deleted file mode 100644
index a593642562c2..000000000000
--- a/graphics/threeDS/files/patch-threeDS.py
+++ /dev/null
@@ -1,24 +0,0 @@
-
-$FreeBSD$
-
---- threeDS.py 2001/01/18 19:26:14 1.1
-+++ threeDS.py 2001/01/18 19:26:19
-@@ -82,7 +82,7 @@
- self.imgfile = readStr(f)
- # print "texture: " + self.imgfile
- try:
-- from Imaging import Image
-+ from PIL import Image
- except:
- print 'Can\'t load texture without PIL!!'
- continue
-@@ -370,7 +370,8 @@
-
- def __init__(self, filename):
- (path, filename) = os.path.split(filename)
-- os.chdir(path)
-+ if path != '':
-+ os.chdir(path)
- f = open(filename, "rb")
- if f is None:
- print "error loading " + str(filename) + "."