forked from bartvdbraak/blender
a705f64245
this works for the calling operators from python and using the RNA api. bpy.ops.CONSOLE_exec() is now bpy.ops.console.exec() eg. split.itemO("PARTICLE_OT_editable_set", text="Free Edit") becomes... split.itemO("particle.editable_set", text="Free Edit") For now any operator thats called checks if its missing _OT_ and assumes its python syntax and converts it before doing the lookup. bpy.ops is a python class in release/ui/bpy_ops.py which does the fake submodules and conversion, the C operator api is at bpy.__ops__ personally Id still rather rename C id-names not to contain the _OT_ text which would avoid the conversion, its called a lot since the UI has to convert the operators. |
||
---|---|---|
.. | ||
beos-4.5-i386 | ||
beos-5.0-i386 | ||
datafiles | ||
freedesktop | ||
io | ||
irix-6.2-mips | ||
plugins | ||
scripts | ||
text | ||
ui | ||
windows | ||
getversion.py | ||
Makefile | ||
VERSION |