2 * ***** BEGIN GPL LICENSE BLOCK *****
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software Foundation,
16 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * Contributor(s): Joseph Eagar.
20 * ***** END GPL LICENSE BLOCK *****
23 #ifndef __BMESH_OPERATORS_H__
24 #define __BMESH_OPERATORS_H__
26 /** \file blender/bmesh/intern/bmesh_operators.h
30 /*see comments in intern/bmesh_opdefines.c for documentation of specific operators*/
32 /*--------defines/enumerations for specific operators-------*/
34 /*quad innervert values*/
45 SUBDIV_SELECT_INNER_SEL,
49 /* similar face selection slot values */
51 SIMFACE_MATERIAL = 201,
60 /* similar edge selection slot values */
72 /* similar vertex selection slot values */
89 /* vertex path selection values */
91 VPATH_SELECT_EDGE_LENGTH = 0,
92 VPATH_SELECT_TOPOLOGICAL
95 extern BMOpDefine *opdefines[];
96 extern int bmesh_total_ops;
98 /*------specific operator helper functions-------*/
102 void BM_mesh_esubdivide(BMesh *bm, const char edge_hflag,
103 float smooth, float fractal,
105 int seltype, int cornertype,
106 const short use_singleedge, const short use_gridfill,
109 #include "intern/bmesh_operator_api_inline.h"
111 #endif /* __BMESH_OPERATORS_H__ */