diff options
Diffstat (limited to 'source/blender/editors/space_script/script_edit.c')
-rw-r--r-- | source/blender/editors/space_script/script_edit.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c index c752b86c1e8..2ef1076bc37 100644 --- a/source/blender/editors/space_script/script_edit.c +++ b/source/blender/editors/space_script/script_edit.c @@ -71,14 +71,14 @@ static int run_pyfile_exec(bContext *C, wmOperator *op) void SCRIPT_OT_python_file_run(wmOperatorType *ot) { /* identifiers */ - ot->name= "Run python file"; - ot->description= "Run Python file"; - ot->idname= "SCRIPT_OT_python_file_run"; + 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; - ot->poll= ED_operator_areaactive; + ot->exec = run_pyfile_exec; + ot->poll = ED_operator_areaactive; RNA_def_string_file_path(ot->srna, "filepath", "", FILE_MAX, "Path", ""); } @@ -103,10 +103,10 @@ static int script_reload_exec(bContext *C, wmOperator *UNUSED(op)) void SCRIPT_OT_reload(wmOperatorType *ot) { /* identifiers */ - ot->name= "Reload Scripts"; - ot->description= "Reload Scripts"; - ot->idname= "SCRIPT_OT_reload"; + ot->name = "Reload Scripts"; + ot->description = "Reload Scripts"; + ot->idname = "SCRIPT_OT_reload"; /* api callbacks */ - ot->exec= script_reload_exec; + ot->exec = script_reload_exec; } |