[Bf-committers] Python API / CVS-snapshot
Sat, 12 Jul 2003 11:36:58 +0000
Meino Christian Cramer wrote:
> with current cvs snapshots of the bf-blender the following python
> code fails:
> camob = Object.get('Camera')
> camname = "Camera"
> if xRes > yRes:
> aspect = 1
> aspect = float(xRes) / float(yRes)
> focale = cam.Lens / (aspect * 32.0) <<<<-----ERRRRRR
> At the marked point, "Lens" could not be found.
Yes, this point ha been fixed, now Camera object have a lens attribute.
I'm waiting Mivhel and Willian opinion to commit the modificatiobs
allowing yable to run