From d2548f561cd6499f22e4710fdddeab606b726af5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 26 Feb 2014 13:48:41 +1100 Subject: WM: hide screen management and ndof operators from seach popup --- source/blender/editors/space_script/script_edit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/space_script') 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", ""); } -- cgit v1.2.3