speedup to inpaint node in my tests was about ~30% for an optimized build.

also replace MIN/MAX2 with inline functions in transform.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49640 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: Mountain-Lion (10.8 )adaptions, skip unsupported endianess etc., todo: deployment target management

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49643 954f8c5b-7b00-dc11-b283-0030488c597c
fix a crash when python is registering enum properties and the `items` argument is a generator (some sequence type besides a list/typle), in this case it could free the strings before blender duplicates them.

this fixes [#32192] Import Images as Planes script is broken


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49644 954f8c5b-7b00-dc11-b283-0030488c597c
OSX: disable kernels in cycles gpu again, would only work in 10.8 afaik

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49646 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for particle influence textures. These now work with "Particle/Strand" input coordinates, mapping the relative particle index into the [-1, 1] Y-coordinate range.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49647 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for endiantest, xcode condition interferred with other os

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49648 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for fix, now nested

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49649 954f8c5b-7b00-dc11-b283-0030488c597c
Fix knife stack overflow (bug #31907).
The mutual recursion was removed: it was not needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49650 954f8c5b-7b00-dc11-b283-0030488c597c
Code Cleanup:
* Remove old comment, Internal Player is working again. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49651 954f8c5b-7b00-dc11-b283-0030488c597c
mask - draw both sides of the curve when `filled` option is disabled.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49653 954f8c5b-7b00-dc11-b283-0030488c597c
OSX/cmake: refactoring of setting endianess defines, this fixes compile of builds with endianess other than the buildmachine and avoids also failing configuration with xcode 4.4 due not supporting big_endian archs anymore

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49655 954f8c5b-7b00-dc11-b283-0030488c597c
Place color weels used for color balance in sequencer vertically

This was it makes more sense from accurate tuning point of view.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49657 954f8c5b-7b00-dc11-b283-0030488c597c
use bilinear rather then bicubic scaling because bicubic blurs too much.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49658 954f8c5b-7b00-dc11-b283-0030488c597c
Made color balance in sequencer multi-threaded

Should give some more realtime update, but it's currently not the
biggest issue - changing color balance settings would imply reloading
of file which is slow. Would be investigated further.

This change shouldn't affect on pre-fetching job which is already
multi-threaded and doing threaded color balance would make things
only worse.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49661 954f8c5b-7b00-dc11-b283-0030488c597c
add view selected for node view


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49663 954f8c5b-7b00-dc11-b283-0030488c597c
Made image buffer threaded processor generic function,
so color management could use the same routines.

Should be no functional changes.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49666 954f8c5b-7b00-dc11-b283-0030488c597c
select linked
- dupligroup now only selects objects with dupligroup enabled.
- selected onjects are skipped, this way and undo push wont happen if no new objects are selected.

also minor edits to node view all/selected


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49670 954f8c5b-7b00-dc11-b283-0030488c597c
fix for own error confusing FLT_MIN with -FLT_MAX (didnt get into a release, dont include in log)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49671 954f8c5b-7b00-dc11-b283-0030488c597c
minor edits to node view
- when single (non frame) node selected, dont zoom in, just pan.
- only reset the background when pressing home key


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@49672 954f8c5b-7b00-dc11-b283-0030488c597c
use -FLT_MAX where FLT_MIN was misused


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