BGE: Fix for [#32218] "logic.addScene() Not Adding Scenes in Order" reported by Josiah Lane (solarlune).

Adding scenes now uses a vector instead of a set to maintain order. This fix is partly based off of patch #32297 by Pavel Sadikov (sigmat).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57536 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#35771] "Specials" ->"Size Y" doesn't work for Cycles area lamp


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57539 954f8c5b-7b00-dc11-b283-0030488c597c
Added back left/right arrows for embossed number fields. (they where active but not drawn)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57541 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: add "Transparent Shadow" option for materials, to disable them per material.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57542 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: optimization for BVH traveral on CPU's with SSE3, using code from Embree.

On the BMW scene, this gives roughly a 10% speedup overall with clang/gcc, and 30%
speedup with visual studio (2008). It turns out visual studio was optimizing the
existing code quite poorly compared to pretty good autovectorization by clang/gcc,
but hand written SSE code also gives a smaller speed boost there.

This code isn't enabled when using the hair minimum width feature yet, need to
make that work with the SSE code still.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57543 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / BVH:
* GCC needs -mssse3 compile flag too (4.7.2) to compile.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57544 954f8c5b-7b00-dc11-b283-0030488c597c
Made blender compilable with strict flags.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57545 954f8c5b-7b00-dc11-b283-0030488c597c
Scons and BuildBot changes for MSVC 2012 support.

Thanks Brecht and Thomas for reviewing ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57548 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles BVH Build fix for MSVC 2012.
needs to include intrin.h for _BitScanForward and _BitScanReverse.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57549 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: attempt to fix internal compile error with some visual studio builds

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57550 954f8c5b-7b00-dc11-b283-0030488c597c
use booleans for operator check functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57551 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles crash on some processors. We actually need S-SSE3 support for this
new BVH traversal code, not just SSE3.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57553 954f8c5b-7b00-dc11-b283-0030488c597c
add option to enable auto-execute scripts, but exclude certain directories.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57554 954f8c5b-7b00-dc11-b283-0030488c597c
Compile fix for r57554 missing include "BLI_string.h" in BLI_path_util.h

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57555 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for own mistake in r57555 :-(
Add include to autoexec.c instead of BLI_path_util.h

Thanks Bastien Montagne for the hint.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57556 954f8c5b-7b00-dc11-b283-0030488c597c
VS 2012 x86 SCons update.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57558 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / UI:
* Some tweaks to the material "Settings" panel. 

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