Python plugin not longer working

Hello,

some years ago I wrote a little python plugin for Blender. I don’t remeber the exact Blender version. Now I liked to use this plugin again and it doesn’t work longer. I starts, but it looks strange as something is wrong with the widget redraw function.

I assume something how Blender GUI plugins are working has changed. Here is the script:

http://tux-style.de/blender/scripts/realsize/realsize.py.txt

I used it to construct my house. It measures points and objects to real measures.

Could one take a look into it and tell me what is complete wrong now?

regards
Andreas

the blender version is in your script, blender 2.36 which used python 2.3. have you tried useing one of the newer scripts check under cad tools here: http://wiki.blender.org/index.php/Extensions:Py/Scripts/Catalog