code cleanup: quiet pedantic warning in array macro.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57028 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh: replace BLI_array reallocs with alloca, also don't check all faces for connecting verts.


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57032 954f8c5b-7b00-dc11-b283-0030488c597c
Various fixes. Tested with OpenSuse 12.3 (amd64).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57033 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / OSL:
* Rename fresnel_dielectric() to fresnel_dielectric_cos() to match SVM, easier when searching code. 
* Also remove an old code comment in bsdf_reflection.h from Cycles branch days. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57035 954f8c5b-7b00-dc11-b283-0030488c597c
Fixed own error: used wrong iteration count for cleaning weight groups

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57037 954f8c5b-7b00-dc11-b283-0030488c597c
the viewport align-active option was flipping the viewport direction,
now you can add an object, enable align to view, then align the view back to the object without flipping.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57038 954f8c5b-7b00-dc11-b283-0030488c597c
BLI_math rename functions:
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4

these temporary names were used to avoid problems when argument order was switched.


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