Sculpt Branch:
[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 #if (defined(WITH_QUICKTIME) && !defined(USE_QTKIT))
38 #include "quicktime_export.h"
39 #endif
40
41 /***************************** render ***********************************/
42
43 void ED_operatortypes_render(void)
44 {
45         WM_operatortype_append(OBJECT_OT_material_slot_add);
46         WM_operatortype_append(OBJECT_OT_material_slot_remove);
47         WM_operatortype_append(OBJECT_OT_material_slot_assign);
48         WM_operatortype_append(OBJECT_OT_material_slot_select);
49         WM_operatortype_append(OBJECT_OT_material_slot_deselect);
50         WM_operatortype_append(OBJECT_OT_material_slot_copy);
51
52         WM_operatortype_append(MATERIAL_OT_new);
53         WM_operatortype_append(TEXTURE_OT_new);
54         WM_operatortype_append(WORLD_OT_new);
55
56         WM_operatortype_append(SCENE_OT_render_layer_add);
57         WM_operatortype_append(SCENE_OT_render_layer_remove);
58
59 #if (defined(WITH_QUICKTIME) && !defined(USE_QTKIT))
60         WM_operatortype_append(SCENE_OT_render_data_set_quicktime_codec);
61 #endif
62         
63         WM_operatortype_append(TEXTURE_OT_slot_move);
64 }
65