From: Kevin A. <ka...@us...> - 2004-05-11 13:07:17
|
Update of /cvsroot/pythoncard/PythonCard/samples/lsystem In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21653/samples/lsystem Modified Files: lsystem.py Log Message: switched to push and pop Index: lsystem.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/lsystem/lsystem.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** lsystem.py 11 May 2004 12:06:19 -0000 1.2 --- lsystem.py 11 May 2004 13:07:08 -0000 1.3 *************** *** 88,94 **** t.bk(legLength) elif char=='[': ! t.saveState() elif char==']': ! t.restoreState() return bounds --- 88,94 ---- t.bk(legLength) elif char=='[': ! t.push() elif char==']': ! t.pop() return bounds *************** *** 115,121 **** t.bk(legLength) elif char=='[': ! t.saveState() elif char==']': ! t.restoreState() ## return bounds --- 115,121 ---- t.bk(legLength) elif char=='[': ! t.push() elif char==']': ! t.pop() ## return bounds |