diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-26 06:48:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-26 06:48:41 +0400 |
commit | d2548f561cd6499f22e4710fdddeab606b726af5 (patch) | |
tree | 52149a9f56b017b103219ce489f24591837838f9 /source/blender/editors/space_script/script_edit.c | |
parent | ece755ffe6a228db40d1cd4073df29b6c0f03519 (diff) |
WM: hide screen management and ndof operators from seach popup
Diffstat (limited to 'source/blender/editors/space_script/script_edit.c')
-rw-r--r-- | source/blender/editors/space_script/script_edit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c index 5754af2c83c..9077d0cf8ed 100644 --- a/source/blender/editors/space_script/script_edit.c +++ b/source/blender/editors/space_script/script_edit.c @@ -83,6 +83,8 @@ void SCRIPT_OT_python_file_run(wmOperatorType *ot) ot->exec = run_pyfile_exec; ot->poll = ED_operator_areaactive; + ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL; + RNA_def_string_file_path(ot->srna, "filepath", NULL, FILE_MAX, "Path", ""); } |