From 0ff22044cd130c1a1b534522ee89b1194a91d0ac Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 23 May 2013 06:19:04 +0000 Subject: Support for bridge tool subdivisions, smoothing and shape along the profile. also added the underlying subdivision as a standalone operator in the edge menu, named: subdivide edge-ring. http://www.graphicall.org/ftp/ideasman42/bridge_subd.png --- source/blender/blenlib/BLI_ghash.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/blenlib/BLI_ghash.h') diff --git a/source/blender/blenlib/BLI_ghash.h b/source/blender/blenlib/BLI_ghash.h index 4555fa85601..07ab6f3869e 100644 --- a/source/blender/blenlib/BLI_ghash.h +++ b/source/blender/blenlib/BLI_ghash.h @@ -139,6 +139,11 @@ bool BLI_ghashIterator_done(GHashIterator *ghi); BLI_ghashIterator_done(&gh_iter_) == false; \ BLI_ghashIterator_step(&gh_iter_)) +#define GHASH_ITER_INDEX(gh_iter_, ghash_, i_) \ + for (BLI_ghashIterator_init(&gh_iter_, ghash_), i_ = 0; \ + BLI_ghashIterator_done(&gh_iter_) == false; \ + BLI_ghashIterator_step(&gh_iter_), i_++) + /* *** */ unsigned int BLI_ghashutil_ptrhash(const void *key); -- cgit v1.2.3