2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2008 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2008-12-25 14:17:54 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup spscript
|
2011-02-27 20:29:51 +00:00
|
|
|
*/
|
|
|
|
|
|
2023-07-22 11:27:25 +10:00
|
|
|
#include <cstdlib>
|
2008-12-25 14:17:54 +00:00
|
|
|
|
2023-08-04 23:11:22 +02:00
|
|
|
#include "WM_api.hh"
|
2008-12-25 14:17:54 +00:00
|
|
|
|
2024-03-26 20:34:48 -04:00
|
|
|
#include "script_intern.hh"
|
2008-12-25 14:17:54 +00:00
|
|
|
|
|
|
|
|
/* ************************** registration **********************************/
|
|
|
|
|
|
2023-07-13 09:54:02 +10:00
|
|
|
void script_operatortypes()
|
2008-12-25 14:17:54 +00:00
|
|
|
{
|
2009-04-12 23:05:40 +00:00
|
|
|
WM_operatortype_append(SCRIPT_OT_python_file_run);
|
2010-06-01 08:15:43 +00:00
|
|
|
WM_operatortype_append(SCRIPT_OT_reload);
|
2008-12-25 14:17:54 +00:00
|
|
|
}
|
|
|
|
|
|
2023-07-12 18:02:56 +02:00
|
|
|
void script_keymap(wmKeyConfig * /*keyconf*/)
|
2008-12-25 14:17:54 +00:00
|
|
|
{
|
2014-02-08 10:52:56 -05:00
|
|
|
/* Script space is deprecated, and doesn't need a keymap */
|
2008-12-25 14:17:54 +00:00
|
|
|
}
|