diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-19 06:59:05 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-19 06:59:05 +0300 |
commit | ba36b848eb670d29a797faceebfea77efee5fc9c (patch) | |
tree | 08e2742b7dcc2e64e079b5bb3a78157e313f69e3 /source/blender/editors/space_api | |
parent | b34a0fd18ad1476ba655c1c2aa84abb3d5384166 (diff) |
Added new macro "file.select_execute", by default mapped to LMB doubleclick in file selector.
This selects+opens the file under the mouse pointer, can be customised.
This somewhat fixes [#20727] MMB don't load .blend from the file browser
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r-- | source/blender/editors/space_api/spacetypes.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c index 90457c05fa7..c1fec6cd1de 100644 --- a/source/blender/editors/space_api/spacetypes.c +++ b/source/blender/editors/space_api/spacetypes.c @@ -42,6 +42,7 @@ #include "ED_anim_api.h" #include "ED_armature.h" #include "ED_curve.h" +#include "ED_fileselect.h" #include "ED_gpencil.h" #include "ED_markers.h" #include "ED_mesh.h" @@ -115,6 +116,7 @@ void ED_spacetypes_init(void) ED_operatormacros_mesh(); ED_operatormacros_node(); ED_operatormacros_object(); + ED_operatormacros_file(); } /* called in wm.c */ |