Two minor fixes which apply to the current beta version and which of
course will be incorporated in the next release:
1) Attached is a corrected ui.py (now in CVS) which replaces the one
which in Windows is found at C:\Python25\Lib\site-packages\visual\ui.py.
This fixes a problem with the lighting of controls (buttons, sliders)
but more generally fixes a problem with any older program that specifies
special lighting. The bug was that in creating a display, default lights
were set without checking to see whether the program was specifying its
own lights.
2) Peter Borcherds kindly points out that in the summary of new features
for the beta version the sample code for making a simple checkerboard
texture contains mistakes in specifying the numerical type of arrays,
now that we're using numpy rather than Numeric. This has been corrected
in the documentation at vpython.org > Recent developments.
Bruce Sherwood
|