2011/5/10 Yuniel Castro González <[email protected]>: > Hello for all. > I am trying to translate a blender script, 2.49 to 2.5. The script doesn't > have declared any class, single functions and at the end of the same one the > following call is made > > Register(gui, event, bevent) > > where 'gui', 'event' and 'bevent' are three of the functions developed in the > script. > How do I make to call to these functions in 2.5? > Do I have to make a class and to lock this functions in her? > Thank you in advance.
Blender 2.5 does not have this, there is no way to make the script run inside a space. For scripts that use OpenGL this isnt supported and the script cant be ported yet, but for typical user interfaces you can register your own Panel, Menu & Operator classes. See examples: http://code.blender.org/index.php/2011/02/blenderpython-api-docs/ _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
