diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-12 16:54:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-12 16:54:08 +0400 |
commit | e36003e8e73e42e7b559d4cec19b9004d14fefa6 (patch) | |
tree | 41683e7e142b2426b882b8acd5d3697a336deabf /source/blender/editors/space_api | |
parent | 715f682f224aae59e5565dfad5d4ef230d3a38df (diff) |
macro's can set options for the operators they execute
changed extrude, rip and duplicate to disable proportional editing however this gives a different problem now.
Commented in transform.c
// XXX If modal, save settings back in scene
this changes disables the option whenever the macro used used.
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index 397da005543..60b9c5a6da7 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -105,6 +105,12 @@ void ED_spacetypes_init(void) spacetypes = BKE_spacetypes_list(); for(type=spacetypes->first; type; type=type->next) type->operatortypes(); + + + /* Macros's must go last since they reference other operators + * maybe we'll need to have them go after python operators too? */ + ED_operatormacros_mesh(); + ED_operatormacros_object(); } /* called in wm.c */ |