blender/source/blenderplayer
Martin Poirier bcd1ab54cd Support for the C Macro system in Python.
Basic definition works like a python operator but you derive from "bpy.types.Macro" instead.
Operators are added to the macro after it has been added with "bpy.ops.add_macro" through the class method "define" which takes an operator id and returns an OperatorMacroType (new RNA type) for which properties can then be defined to be passed to the operator when run.

Example: http://blenderartists.org/~theeth/bf/macro.py

Using this system, it should be easy to add an operator to the console that converts selected lines into a macro or even a more generic record macro system.
2009-12-05 19:27:26 +00:00
..
bad_level_call_stubs Support for the C Macro system in Python. 2009-12-05 19:27:26 +00:00
CMakeLists.txt white space commit. (2 spaces -> tab). 2009-09-06 01:51:23 +00:00