blender/source
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
..
blender Support for the C Macro system in Python. 2009-12-05 19:27:26 +00:00
blenderplayer Support for the C Macro system in Python. 2009-12-05 19:27:26 +00:00
creator better not process events early, could cause troubles later. 2009-11-30 14:10:46 +00:00
darwin - removed 2.4x release/scripts 2009-09-28 03:19:52 +00:00
gameengine BGE fix for GameLogic["post_draw"] not working with 2DFilters 2009-12-05 02:30:20 +00:00
icons Undo revision 23130 which was a merge with 2.5, a messy one because I did something wrong (svn status output: http://www.pasteall.org/7887). 2009-09-15 18:01:18 +00:00
kernel Undo revision 23130 which was a merge with 2.5, a messy one because I did something wrong (svn status output: http://www.pasteall.org/7887). 2009-09-15 18:01:18 +00:00
CMakeLists.txt Undo revision 23130 which was a merge with 2.5, a messy one because I did something wrong (svn status output: http://www.pasteall.org/7887). 2009-09-15 18:01:18 +00:00
Makefile Add FFTW3 support to Makefiles, make OpenJpeg use OS lib for Linux. 2009-11-09 20:08:19 +00:00
nan_compile.mk - remove CPPFLAG XP_UNIX from CMake, Scons and Irix make, checked our own code and /usr/include, its only used in our netscape plugin. 2009-11-19 11:49:42 +00:00
nan_definitions.mk Add FFTW3 support to Makefiles, make OpenJpeg use OS lib for Linux. 2009-11-09 20:08:19 +00:00
nan_link.mk Add FFTW3 support to Makefiles, make OpenJpeg use OS lib for Linux. 2009-11-09 20:08:19 +00:00
nan_subdirs.mk Makefile updates for Blender 2.5 (from GSR) 2009-03-19 01:50:45 +00:00
nan_warn.mk Update condition checks to match user definable CC and CCC. 2009-09-20 20:21:01 +00:00
SConscript Undo revision 23130 which was a merge with 2.5, a messy one because I did something wrong (svn status output: http://www.pasteall.org/7887). 2009-09-15 18:01:18 +00:00