[Bf-committers] Python API problems / OpenAL now found

Meino Christian Cramer bf-committers@blender.org
Mon, 21 Jul 2003 06:09:33 +0200 (CEST)


Hi,

 finally I found openal ! :)

 The fresh blender- cvs builds, but there is still a bug in the Python
 API.

 In the scripts yable (Yafray exporter), the following code fragments
 fails :



 	if xRes > yRes:
		aspect = 1
	else:
		aspect = float(xRes) / float(yRes)
	focale = cam.Lens / (aspect * 32.0)        <<<<---!!!!


 

 "Lens" is not found. 

  Kind regards,
  Meino Cramer