texture slots up/down back
[blender.git] / source / blender / editors / render / render_ops.c
1 /**
2  * $Id:
3  *
4  * ***** BEGIN GPL LICENSE BLOCK *****
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version. 
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19  *
20  * The Original Code is Copyright (C) 2009 Blender Foundation.
21  * All rights reserved.
22  *
23  * Contributor(s): Blender Foundation
24  *
25  * ***** END GPL LICENSE BLOCK *****
26  */
27
28 #include <stdlib.h>
29
30 #include "DNA_windowmanager_types.h"
31
32 #include "WM_api.h"
33 #include "WM_types.h"
34
35 #include "render_intern.h" // own include
36
37 /***************************** render ***********************************/
38
39 void ED_operatortypes_render(void)
40 {
41         WM_operatortype_append(OBJECT_OT_material_slot_add);
42         WM_operatortype_append(OBJECT_OT_material_slot_remove);
43         WM_operatortype_append(OBJECT_OT_material_slot_assign);
44         WM_operatortype_append(OBJECT_OT_material_slot_select);
45         WM_operatortype_append(OBJECT_OT_material_slot_deselect);
46         WM_operatortype_append(OBJECT_OT_material_slot_copy);
47
48         WM_operatortype_append(MATERIAL_OT_new);
49         WM_operatortype_append(TEXTURE_OT_new);
50         WM_operatortype_append(WORLD_OT_new);
51
52         WM_operatortype_append(SCENE_OT_render_layer_add);
53         WM_operatortype_append(SCENE_OT_render_layer_remove);
54
55         WM_operatortype_append(TEXTURE_OT_slot_move);
56 }
57