Blender Git Commit Log

Git Commits -> Revision 586af8c

Revision 586af8c by Martin Poirier (master)
January 26, 2010, 20:43 (GMT)
Properties for macro operator call in python.

Dicts are converted to operator properties like this:

bpy.ops.armature.extrude_forked(TRANSFORM_OT_translate={"value":(2,0,1)})

Note that this doesn't work quite well if one operator is twice in the same macro, but that's a problem at the RNA level too. I'll have to deal with that eventually.

Commit Details:

Full Hash: 586af8ca479ad22e59ef3a45694096f8a5e16405
SVN Revision: 26313
Parent Commit: b7405ce
Lines Changed: +7, -3

2 Modified Paths:

/source/blender/python/intern/bpy_operator.c (+1, -3) (Diff)
/source/blender/python/intern/bpy_rna.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021