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:
-rw-r--r--source/blender/editors/space_script/script_edit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c
index 355095ea290..153f1236dce 100644
--- a/source/blender/editors/space_script/script_edit.c
+++ b/source/blender/editors/space_script/script_edit.c
@@ -81,6 +81,7 @@ void SCRIPT_OT_python_file_run(wmOperatorType *ot)
ot->name= "Run python file";
ot->description= "Run Python file.";
ot->idname= "SCRIPT_OT_python_file_run";
+ ot->flag = OPTYPE_UNDO;
/* api callbacks */
ot->exec= run_pyfile_exec;