2011-02-23 10:52:22 +00:00
|
|
|
/*
|
2008-12-25 14:17:54 +00:00
|
|
|
* ***** BEGIN GPL LICENSE BLOCK *****
|
|
|
|
|
*
|
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
2010-02-12 13:34:04 +00:00
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2008-12-25 14:17:54 +00:00
|
|
|
*
|
|
|
|
|
* The Original Code is Copyright (C) 2008 Blender Foundation.
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* Contributor(s): Blender Foundation
|
|
|
|
|
*
|
|
|
|
|
* ***** END GPL LICENSE BLOCK *****
|
|
|
|
|
*/
|
|
|
|
|
|
2011-02-27 20:29:51 +00:00
|
|
|
/** \file blender/editors/space_script/script_ops.c
|
|
|
|
|
* \ingroup spscript
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
2008-12-25 14:17:54 +00:00
|
|
|
#include <stdlib.h>
|
|
|
|
|
#include <math.h>
|
|
|
|
|
|
|
|
|
|
#include "WM_api.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "script_intern.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ************************** registration **********************************/
|
|
|
|
|
|
|
|
|
|
void script_operatortypes(void)
|
|
|
|
|
{
|
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);
|
2013-06-10 00:42:16 +00:00
|
|
|
WM_operatortype_append(SCRIPT_OT_autoexec_warn_clear);
|
2008-12-25 14:17:54 +00:00
|
|
|
}
|
|
|
|
|
|
2014-02-08 10:52:56 -05:00
|
|
|
void script_keymap(wmKeyConfig *UNUSED(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
|
|
|
}
|