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:
Diffstat (limited to 'source/blender/editors/space_script/script_edit.c')
-rw-r--r--source/blender/editors/space_script/script_edit.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/source/blender/editors/space_script/script_edit.c b/source/blender/editors/space_script/script_edit.c
index 5a761d1cabf..ee8dcf0ca9a 100644
--- a/source/blender/editors/space_script/script_edit.c
+++ b/source/blender/editors/space_script/script_edit.c
@@ -145,23 +145,3 @@ void SCRIPT_OT_reload(wmOperatorType *ot)
/* api callbacks */
ot->exec = script_reload_exec;
}
-
-static int script_autoexec_warn_clear_exec(bContext *UNUSED(C), wmOperator *UNUSED(op))
-{
- G.f |= G_SCRIPT_AUTOEXEC_FAIL_QUIET;
- return OPERATOR_FINISHED;
-}
-
-void SCRIPT_OT_autoexec_warn_clear(wmOperatorType *ot)
-{
- /* identifiers */
- ot->name = "Continue Untrusted";
- ot->description = "Ignore autoexec warning";
- ot->idname = "SCRIPT_OT_autoexec_warn_clear";
-
- /* flags */
- ot->flag = OPTYPE_INTERNAL;
-
- /* api callbacks */
- ot->exec = script_autoexec_warn_clear_exec;
-}