diff options
author | Joseph Eagar <joeedh@gmail.com> | 2011-02-27 09:19:40 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2011-02-27 09:19:40 +0300 |
commit | f01261d040be27337db9f9996d648a279c89b7c4 (patch) | |
tree | c448230939b3c90d53ce8852dd00925d6052e3a4 /source/blender/bmesh/bmesh_iterators.h | |
parent | dcaeda5c4e3a0687251b8511de4f2e8b85ef75c0 (diff) | |
parent | 2198cfdb2deec8b2e85e242c74a032f43d0b26ca (diff) |
merge with/from trunk at r35190
Diffstat (limited to 'source/blender/bmesh/bmesh_iterators.h')
-rw-r--r-- | source/blender/bmesh/bmesh_iterators.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/bmesh/bmesh_iterators.h b/source/blender/bmesh/bmesh_iterators.h index c741ec5d967..1d35db8058e 100644 --- a/source/blender/bmesh/bmesh_iterators.h +++ b/source/blender/bmesh/bmesh_iterators.h @@ -55,6 +55,10 @@ a different face hole boundary*/ for (ele = BMIter_New(iter, bm, type, data); ele; ele=BMIter_Step(iter)) {\ if (BM_TestHFlag(ele, BM_HIDDEN) || !BM_TestHFlag(ele, BM_SELECT)) continue; +#define BM_ITER_VISIBLE(ele, iter, bm, type, data)\ +for (ele = BMIter_New(iter, bm, type, data); ele; ele=BMIter_Step(iter)) {\ + if (BM_TestHFlag(ele, BM_HIDDEN)) continue; + #define BM_ITER_NOTSELECT(ele, iter, bm, type, data)\ for (ele = BMIter_New(iter, bm, type, data); ele; ele=BMIter_Step(iter)) {\ if (BM_TestHFlag(ele, BM_HIDDEN) || BM_TestHFlag(ele, BM_SELECT)) continue; |