[Bf-python] Text3d, ob.getBoundBox() and Blender.Redraw()

Chris Want cwant at ualberta.ca
Thu Mar 16 05:25:42 CET 2006


Bug or feature?

The following prints nonsense for a
bounding box:

import Blender
from Blender import Material, Lamp, Object, Text3d, Scene
scn = Scene.GetCurrent()
ob = Object.New('Text')
c= Text3d.New();
c.setText("blah")
ob.link(c)
scn.link(ob)
ob.makeDisplayList()

print ob.getBoundBox()
Blender.Redraw()

But if I print the bounding box *after* a
Blender.Redraw(), it prints the right
information.

Chris



More information about the Bf-python mailing list