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) 2008 Blender Foundation. 00019 * All rights reserved. 00020 * 00021 * Contributor(s): Nicholas Bishop 00022 * 00023 * ***** END GPL LICENSE BLOCK ***** 00024 */ 00025 00030 #ifndef ED_SCULPT_H 00031 #define ED_SCULPT_H 00032 00033 struct ARegion; 00034 struct bContext; 00035 struct Object; 00036 struct RegionView3D; 00037 struct wmKeyConfig; 00038 struct wmWindowManager; 00039 00040 /* sculpt.c */ 00041 void ED_operatortypes_sculpt(void); 00042 void sculpt_get_redraw_planes(float planes[4][4], struct ARegion *ar, 00043 struct RegionView3D *rv3d, struct Object *ob); 00044 void ED_sculpt_force_update(struct bContext *C); 00045 00046 /* paint_ops.c */ 00047 void ED_operatortypes_paint(void); 00048 void ED_keymap_paint(struct wmKeyConfig *keyconf); 00049 00050 /* paint_undo.c */ 00051 #define UNDO_PAINT_IMAGE 0 00052 #define UNDO_PAINT_MESH 1 00053 00054 int ED_undo_paint_step(struct bContext *C, int type, int step, const char *name); 00055 void ED_undo_paint_free(void); 00056 int ED_undo_paint_valid(int type, const char *name); 00057 00058 #endif