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@57030 954f8c5b-7b00-dc11-b283-0030488c597c
VS 2012 debug libs and debug symbols for OpenCOLLADA.

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@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@57033 954f8c5b-7b00-dc11-b283-0030488c597c
VS 2012 x64 libs update:

- Added Debug lib and symbols for OpenColorIO
- Recompiled OpenColorIO with more compatible optimizations

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57034 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@57035 954f8c5b-7b00-dc11-b283-0030488c597c
VS2012 x64 libs maintenance:

- Added debug libs and symbols for IlmBase 2.0.0
- Added debug libs and symbols for OpenEXR 2.0.0

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57036 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@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@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@57039 954f8c5b-7b00-dc11-b283-0030488c597c
VS 2012 libs maintenance:

- Recompiled OpenImageIO.lib
- Added debug lib and symbols.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57040 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Hair:
* Fix a condition in the hair BVH code. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57041 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Fresnel:
* Avoid redundant assignment and use correct Normal for Ray Differentials. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57042 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35518] UV Mapping crashes the Blender with specific image file

2 bugs here
- missing NULL check in IMB_colormanagement_display_settings_from_ctx()
- deadlock in draw_image_paint_helpers()

Simple solution is to not draw paint helpers for render/viewer images.


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


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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57045 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #35504: Blender crashes on separating curves with different Evaluation Time / keyframes

Used slightly different approach from what was discussed with Campbell,
and the reason of this is slightly better support of curve point animation
re-mapping.

There're actually some limitations which better be discussed bewfore 'b':
- If there're no point animation, spline separation goes just fine.
- If there're animated points in the curve, blender will preserve
  animation for currently editing curve. But, since new curve created
  by Separate operator shares the same AnimData, it'll be animatied
  in a weird way.

So not sure whether it's better to preserve animation for current spline
but require switching animationdata for new spline or resetting animation
for current curve's animation data.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57046 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Passes:
* Some closures (Toon, Diffuse Ramp) were not assigned to a CLOSURE_IS_* define, which made them invisible on render passes.
* Westin closures had wrong type, Sheen is Diffuse, Backscatter is Glossy.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57047 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh optimization: use offsets for deform-vert lookups to avoid customdata layer lookups within loops.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@57048 954f8c5b-7b00-dc11-b283-0030488c597c
modification to r57023, use active color but only draw face-stipple when selected. (active-unselected isn't in common usage for mesh editmode).


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