I have a script which changes the scale and location of a text object. It then checks it’s dimensions, but the dimension data are stale. It works, but must be run twice to update the dimensions.
I read here that this is actually correct: http://www.blender.org/documentation/blender_python_api_2_66_release/info_gotcha.html
It says to just run
to force the update but I just get errors when I add it.
I tried bpy.types.Scene.update(), bpy.types.scene.update and many other permutations. Thanks in advance.