diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-15 09:40:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-26 17:06:20 +0400 |
commit | 2f4e70702c5bd42845f6f7353cf6c8c0acc0bea0 (patch) | |
tree | e0b7783e9f66f92550d75b3c84ca0473ff560809 /source/blender/bmesh/tools/bmesh_region_match.h | |
parent | a5159b5fba951197e3571fb06f62809409fb4306 (diff) |
BMesh: select similar regions
Select operator that takes multiple selected face regions and
selects any number of matching regions (when they have distinguishing features to isolate them).
UI access next.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_region_match.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_region_match.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_region_match.h b/source/blender/bmesh/tools/bmesh_region_match.h new file mode 100644 index 00000000000..edf8369b070 --- /dev/null +++ b/source/blender/bmesh/tools/bmesh_region_match.h @@ -0,0 +1,33 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#ifndef __BMESH_REGION_MATCH_H__ +#define __BMESH_REGION_MATCH_H__ + +/** \file blender/bmesh/tools/bmesh_region_match.h + * \ingroup bmesh + */ + +int BM_mesh_region_match( + BMesh *bm, + BMFace **faces_region, unsigned int faces_region_len, + ListBase *r_face_regions); + +#endif /* __BMESH_REGION_MATCH_H__ */ |