blender/release
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
..
beos-4.5-i386 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
beos-5.0-i386 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
datafiles Colour Management 2009-07-17 02:43:15 +00:00
freedesktop * blender doesn't need the -w anymore to start in a window 2009-02-28 09:25:42 +00:00
io PLY export, use the file selector and added operator options 2009-06-20 16:08:01 +00:00
irix-6.2-mips 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
plugins Patch 17403, small gcc warning fixes. 2008-09-20 12:28:01 +00:00
scripts moving the existing ply exporter into io before updating (to get a useful diff) 2009-06-20 13:55:47 +00:00
text Updated python license, this is compatible with current 2.5 and older. 2008-10-11 15:55:22 +00:00
ui python access to operators now hides the _OT_ syntax, eg. SOME_OT_operator -> some.operator 2009-07-17 12:26:40 +00:00
windows === SCons === 2009-06-12 15:37:23 +00:00
getversion.py Slight improvements in release creation. 2009-04-11 19:04:59 +00:00
Makefile 2.50: 2009-06-08 20:08:19 +00:00
VERSION Last pre-2.49 commit part 2: the original file (png btw), and txt and 2009-05-29 17:52:45 +00:00