Blender  V2.59
render_ops.c
Go to the documentation of this file.
00001 /*
00002  * $Id: render_ops.c 35242 2011-02-27 20:29:51Z jesterking $
00003  *
00004  * ***** BEGIN GPL LICENSE BLOCK *****
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version. 
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software Foundation,
00018  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019  *
00020  * The Original Code is Copyright (C) 2009 Blender Foundation.
00021  * All rights reserved.
00022  *
00023  * Contributor(s): Blender Foundation
00024  *
00025  * ***** END GPL LICENSE BLOCK *****
00026  */
00027 
00033 #include <stdlib.h>
00034 
00035 
00036 #include "WM_api.h"
00037 
00038 #include "ED_render.h"
00039 
00040 #include "render_intern.h" // own include
00041 
00042 #if (defined(WITH_QUICKTIME) && !defined(USE_QTKIT))
00043 #include "quicktime_export.h"
00044 #endif
00045 
00046 /***************************** render ***********************************/
00047 
00048 void ED_operatortypes_render(void)
00049 {
00050         WM_operatortype_append(OBJECT_OT_material_slot_add);
00051         WM_operatortype_append(OBJECT_OT_material_slot_remove);
00052         WM_operatortype_append(OBJECT_OT_material_slot_assign);
00053         WM_operatortype_append(OBJECT_OT_material_slot_select);
00054         WM_operatortype_append(OBJECT_OT_material_slot_deselect);
00055         WM_operatortype_append(OBJECT_OT_material_slot_copy);
00056 
00057         WM_operatortype_append(MATERIAL_OT_new);
00058         WM_operatortype_append(TEXTURE_OT_new);
00059         WM_operatortype_append(WORLD_OT_new);
00060         
00061         WM_operatortype_append(MATERIAL_OT_copy);
00062         WM_operatortype_append(MATERIAL_OT_paste);
00063 
00064         WM_operatortype_append(SCENE_OT_render_layer_add);
00065         WM_operatortype_append(SCENE_OT_render_layer_remove);
00066 
00067 #if (defined(WITH_QUICKTIME) && !defined(USE_QTKIT))
00068         WM_operatortype_append(SCENE_OT_render_data_set_quicktime_codec);
00069 #endif
00070         
00071         WM_operatortype_append(TEXTURE_OT_slot_copy);
00072         WM_operatortype_append(TEXTURE_OT_slot_paste);
00073         WM_operatortype_append(TEXTURE_OT_slot_move);
00074         WM_operatortype_append(TEXTURE_OT_envmap_save);
00075         WM_operatortype_append(TEXTURE_OT_envmap_clear);
00076         WM_operatortype_append(TEXTURE_OT_envmap_clear_all);
00077 
00078         /* render_internal.c */
00079         WM_operatortype_append(RENDER_OT_view_show);
00080         WM_operatortype_append(RENDER_OT_render);
00081         WM_operatortype_append(RENDER_OT_view_cancel);
00082 
00083         /* render_opengl.c */
00084         WM_operatortype_append(RENDER_OT_opengl);
00085 }
00086