Files
test/source/blender/editors/space_script/script_ops.cc
Hans Goudey bc8c892c65 Cleanup: Move WM headers to C++
Also move a few more headers that included WM headers.

Pull Request: https://projects.blender.org/blender/blender/pulls/110815
2023-08-04 23:11:22 +02:00

28 lines
548 B
C++

/* SPDX-FileCopyrightText: 2008 Blender Foundation
*
* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup spscript
*/
#include <cmath>
#include <cstdlib>
#include "WM_api.hh"
#include "script_intern.h"
/* ************************** registration **********************************/
void script_operatortypes()
{
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 */
}