From: Bruce S. <ba...@an...> - 2001-07-11 18:40:43
|
New DLL and new VPython for Windows at http://cil.andrew.cmu.edu/projects/visual Recently I discovered that large coordinates (bigger than about 1e45) were not handled correctly. This broke when we went from Python 1.5 to Python 2.0 but wasn't noticed until now. (A program that worked last December didn't work any more.) David Scherer suggested changing floats to doubles in some critical parts of Visual. David Andersen tried this and found that it indeed fixes the problem. It turns out that this also fixes a seemingly unrelated problem that crept in with Python 2.0. The demo programs wave.py and drape.py sometimes flickered, putting a curve endpoint momentarily at the upper right corner of the window. This bug is now gone. Our best guess, but it is only a guess at this time, is that some aspect of the Numeric module changed with the change to Python 2.0, in a way that affected Visual, which uses Numeric arrays in various ways. Bruce Sherwood |