blender/source
Campbell Barton a705f64245 python access to operators now hides the _OT_ syntax, eg. SOME_OT_operator -> some.operator
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.
2009-07-17 12:26:40 +00:00
..
blender python access to operators now hides the _OT_ syntax, eg. SOME_OT_operator -> some.operator 2009-07-17 12:26:40 +00:00
creator NLA SoC: Merge from 2.5 2009-07-02 03:32:57 +00:00
darwin * Updated the Mac OS X blender and .blend file icons to support 2009-05-21 13:39:47 +00:00
gameengine SCons 2009-07-16 19:41:28 +00:00
icons
kernel 2.50: 2009-06-08 20:08:19 +00:00
CMakeLists.txt 2.50: 2009-06-08 20:08:19 +00:00
Makefile Add Makefile build support for Console Space Type (added in r21611). 2009-07-16 03:11:21 +00:00
nan_compile.mk Spring Cleaning 2009-06-21 16:18:38 +00:00
nan_definitions.mk Object mode select grouped operator (Shift+G and Select manu) 2009-07-11 11:31:49 +00:00
nan_link.mk Spring Cleaning 2009-06-21 16:18:38 +00:00
nan_subdirs.mk Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
nan_warn.mk Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
SConscript 2009-03-30 18:21:17 +00:00