C forbids having variables declarations in the middle of code block.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56757 954f8c5b-7b00-dc11-b283-0030488c597c
fix for bridge flipping, loops pointing away from eachother (over 90d difference) would flip
now check the loops are facing eachother, taking their relative positions into account.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@56758 954f8c5b-7b00-dc11-b283-0030488c597c