Welcome to mirror list, hosted at ThFree Co, Russian Federation.

script_ops.c « space_script « editors « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9b43a95dbdea6b01dbd206d21cf151a2f343659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright 2008 Blender Foundation. All rights reserved. */

/** \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 *UNUSED(keyconf))
{
  /* Script space is deprecated, and doesn't need a keymap */
}