Author: AngeloTheodorou
Date: 2007-07-03 22:07:16 -0400 (Tue, 03 Jul 2007)
New Revision: 340
Modified:
trunk/pysoy/tests/tex_canvas.py
Log:
tex_canvas test works again
Modified: trunk/pysoy/tests/tex_canvas.py
===================================================================
--- trunk/pysoy/tests/tex_canvas.py 2007-07-04 01:53:14 UTC (rev 339)
+++ trunk/pysoy/tests/tex_canvas.py 2007-07-04 02:07:16 UTC (rev 340)
@@ -5,8 +5,7 @@
from time import sleep
img = Image.open('lava.png')
-tex = soy.textures.Texture()
-tex.fromPIL(img)
+tex = soy.textures.Image(img)
scr = soy.Screen()
win = soy.Window(scr, 'Simulation Test')
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn