Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_script / script_edit.c
index 5a761d1cabf466f556f21ff4d57e14c18c7ac6c6..ee8dcf0ca9aeb6e647c1d9dda2fa8eba8e9dc33b 100644 (file)
@@ -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;
-}