[Bf-python] Updating shading view ?
Campbell Barton
cbarton at metavr.com
Sat Feb 4 03:24:08 CET 2006
If you changine somthing you can try a few things.
Blender.Window.RedrawAll()
Blender.Scene.GetCurrent().update(1)
try: Blender.Scene.GetCurrent().getActiveObject().getData(mesh=1).update()
except: pass
bmx007 wrote:
> I made a script who chnage lamp's energy. But i haven' t foud a way
> to update (in python) the view (in shading mode)
> . I must move (and cancel) an object to update th result. Is anybody
> have a solution ?
>
> Thanx
> Max
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-python
>
--
Campbell J Barton
133 Hope Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
More information about the Bf-python
mailing list