Fix #33107: cycles fixed threads 1 was still having two cores do work,
because main thread works as well.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51986 954f8c5b-7b00-dc11-b283-0030488c597c
itask: reworked conditionals for osx version compatibility

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51987 954f8c5b-7b00-dc11-b283-0030488c597c
decimate - degenerate edges are now added back into the heap (with an dummy cost), so when surrounding geometry may be modified and the previously degenerate edge re-evaluated after.
The C++ LOD decimator did this too.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51989 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#26472] Decimate overlaps polygons


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51990 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: quiet double promotion warnings


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51991 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup:
linearrgb_to_srgb_ushort4_predivide() was calling `linearrgb_to_srgb(t) * alpha` twice in the FTOUSHORT macro, which gcc didn't optimize out.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51992 954f8c5b-7b00-dc11-b283-0030488c597c
code improvements for selecting the shortest path for mesh editmode,
this will give some speedup but its mainly to simplify the function.

- use bmesh adjacency data, was building its own data, left over from pre-bmesh.
- use a flag to store visited edges rather then a hash.
- store edge pointers in the heap rather then index values (was converting back and fourth a lot).



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51993 954f8c5b-7b00-dc11-b283-0030488c597c
further cleanup for selecting the shortest path, remove the need for EDBM_index_arrays_* functions.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51994 954f8c5b-7b00-dc11-b283-0030488c597c
add mesh editmode Ctrl+RMB to select the shortest path between faces, works the same as for edges.
Request from Kjartan.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51995 954f8c5b-7b00-dc11-b283-0030488c597c
minor cleanup to to selecting the shortest path, change some variable names and make edge/face modes share the cost calculation function.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51996 954f8c5b-7b00-dc11-b283-0030488c597c
CMake: Since Audaspace now requires Boost, auto enable Boost if WITH_AUDASPACE is enabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51997 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: avoid doing multiplications within macro FTOCHAR() per pixel when applying brush color.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51998 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: unused defines & some formatting.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@51999 954f8c5b-7b00-dc11-b283-0030488c597c
decimator - merge flags when collapsing edges / verts, so seams and edges draw flags are kept.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52000 954f8c5b-7b00-dc11-b283-0030488c597c
Added Map Taper option which if enabled maps affect of taper object on
actually beveled part of curve (previously affect of taper would have
been clamped by start/end bevel factor)

Here's an illustration:
http://wiki.blender.org/uploads/5/5d/Blender2.65_CurveMapTaper.png

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52001 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#32874] Fixed the property path calculation in situations where the link.index variable gets set during the search.
From Florian K?\246berle


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52002 954f8c5b-7b00-dc11-b283-0030488c597c
fix [#33000] bmesh.ops.create_* either crash blender or do nothing


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

Pressing ESC for renders now checks for modifier keys, and doesn't escape renders
when a modifier key is held. In Windows, SHIFT+CTRL+ESC brings up task manager,
and it seems to pass on the event.



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@52004 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: workaround for getting right LC_VERSION_MIN_MACOSX with makefiles

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

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