diff options
Diffstat (limited to 'source/blender/editors/space_script')
-rw-r--r-- | source/blender/editors/space_script/script_edit.c | 1 |
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; |