Simplify line/plane intersection, add line_plane_factor_v3().

Remove no_flip option for isect_line_plane_v3(), its quite specific and only used for ED_view3d_win_to_3d().


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59679 954f8c5b-7b00-dc11-b283-0030488c597c
tweak mempool loop comparisons when we know there is no chance for skipping past the last value.
also correct typo.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59680 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / Standalone:
* Fix some link errors on Windows, still missing png, zlib, jpeg and tiff.

I couldn't yet figure out the correct flags to pass on here, and the 2300 lines huge main CMakeLists file doesn't help with it...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59681 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: 
* More build fixes, 2 link errors remain. http://www.pasteall.org/45279

Note: Probably those paths should only be added for Windows and Linux, as "OPENIMAGEIO_LIBPATH" already inherit them for Mac OS. Also "OPENIMAGEIO_LIBRARIES" inherits the libs for Linux already. Is that intended or a lack of consistency? 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59682 954f8c5b-7b00-dc11-b283-0030488c597c
Cleanup:
* Silence /arch:SSE2 warning on msvc x64. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59683 954f8c5b-7b00-dc11-b283-0030488c597c
fix for ui glitch, pressing backspace over a button to reset to the default value didnt work for the uilist text button (others too), missing redraw.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59684 954f8c5b-7b00-dc11-b283-0030488c597c
remove calls to CTX_wm_region(C) when the region is already known.
also remove unused toggle vars in uiHandleButtonData


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59685 954f8c5b-7b00-dc11-b283-0030488c597c
text drawing glitche - highlight line was offset slightly from selection.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59686 954f8c5b-7b00-dc11-b283-0030488c597c
text spacing was using DPI rather then the size of the text.
characters could draw outside the selection when the text was scaled up.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59687 954f8c5b-7b00-dc11-b283-0030488c597c
patch [#35928] View roll operator
from Kevin Mackay (yakca), with my own additions to make it modal (though there are no keys bound to modal roll by default).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59689 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles:
* World background samples (Branched Path) were missing after integrator rename. 

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