Files
test2/source/blender/editors/space_script/script_ops.cc
Jacques Lucke 75322803df Cleanup: move more editors folders to c++
This moves `space_script`, `space_statusbar`, `space_topbar`,
`space_userpref`, `space_view3d` and `util`.

Also see #103343.

Pull Request: https://projects.blender.org/blender/blender/pulls/110015
2023-07-12 18:02:56 +02:00

28 lines
553 B
C++

/* SPDX-FileCopyrightText: 2008 Blender Foundation
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup spscript
*/
#include <math.h>
#include <stdlib.h>
#include "WM_api.h"
#include "script_intern.h"
/* ************************** registration **********************************/
void script_operatortypes(void)
{
WM_operatortype_append(SCRIPT_OT_python_file_run);
WM_operatortype_append(SCRIPT_OT_reload);
}
void script_keymap(wmKeyConfig * /*keyconf*/)
{
/* Script space is deprecated, and doesn't need a keymap */
}