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