More fix for [#37327] Inconsistent numeric input conversion.

When a single element is involved, apply directly the values instead of using the diff from init values. This avoids glitches when going from huge values to very small ones (due to float precision).

Note we should probably switch to doubles here, ultimately, but would leave that for later.

Manys thanks to Armin Zingler, who did all the investigation work on this point!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61208 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Fresnel Node:
* Add a "Normal" Input to the Fresnel node.
* Fix for the Fresnel GLSL code (normalize the Incoming vector).

Patch #37384 by Philipp Oeser (lichtwerk) , thanks! 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61209 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/scons: Only cosmetical, a nicer formatting for available sdk listing

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61210 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/scons: spelling and cleanup comments

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61212 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/scons: user request, make options succes transparent by printing  it

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61213 954f8c5b-7b00-dc11-b283-0030488c597c
uiList: fix a bug in computing visual active index (afaict, in case of reordering, was affecting "keep active visible" feature when resizing, and the "active label color" in custom themes).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61214 954f8c5b-7b00-dc11-b283-0030488c597c
uiList: fix another bug, where active item labels in sublayouts would not get colored as active (need recursion in sublayouts!). Was affecting e.g. Group node inputs/outputs lists.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61215 954f8c5b-7b00-dc11-b283-0030488c597c
Work around for bug [#37376] wrong tooltips on few minus buttons 

Until we have a way to customize tooltips based on operator parameters...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61218 954f8c5b-7b00-dc11-b283-0030488c597c
no need to call isnan() on unsigned ints (causes error on freebsd/clang)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61219 954f8c5b-7b00-dc11-b283-0030488c597c
mistake in last commit


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61220 954f8c5b-7b00-dc11-b283-0030488c597c
Added options for how bevel amount is measured.
Now there is an 'Offset Type' dropdown on tool
shelf with types:
Offset - current method, offset of new edge
  from old along sliding face
Width - width of new bevel face (if segments=1)
Depth - amount a chamfering plane moves down
  from original edge
Percent - percent of way sliding edges move
  along their adjacent edges

The different options mainly are useful when
beveling more than one edge at once.

Leaving as a TODO to put these in the modifier,
as doing that has more permanent effects so
want to let users shake out problems with this
first.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61221 954f8c5b-7b00-dc11-b283-0030488c597c
Remove debugging prints from previous commit.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61222 954f8c5b-7b00-dc11-b283-0030488c597c
replace IS_EQ -> IS_EQF for use with floats.


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