Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-26 06:48:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-26 06:48:41 +0400
commitd2548f561cd6499f22e4710fdddeab606b726af5 (patch)
tree52149a9f56b017b103219ce489f24591837838f9 /source/blender/editors/space_script
parentece755ffe6a228db40d1cd4073df29b6c0f03519 (diff)
WM: hide screen management and ndof operators from seach popup
Diffstat (limited to 'source/blender/editors/space_script')
-rw-r--r--source/blender/editors/space_script/script_edit.c2
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", "");
}