New feature

Patch [#33445] - Experimental Cycles Hair Rendering (CPU only)

This patch allows hair data to be exported to cycles and introduces a new line segment primitive to render with.

The UI appears under the particle tab and there is a new hair info node available.

It is only available under the experimental feature set and for cpu rendering.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53373 954f8c5b-7b00-dc11-b283-0030488c597c
Convert alpha node: rename "key alpha" to "straight alpha" for consistency.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53374 954f8c5b-7b00-dc11-b283-0030488c597c
Fix cycles python error in some panels, was not updated for new list template yet.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53375 954f8c5b-7b00-dc11-b283-0030488c597c
Reversion of previous fix for Mac OS X scrollwheel,
it appears I used 10.7+ options, fails for 10.6.

Back to drawing board!



git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53376 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles Hair UI:
* Code cleanup, removed some unneeded code
* Moved "Cycles Hair Rendering" panel above "Cycles Hair settings"
* "Cycles Hair settings" panel is only visible when hair rendering ("use_curves") is enabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53377 954f8c5b-7b00-dc11-b283-0030488c597c
Fix OSL distance() of point to line segment function not being available,
implemented now in stdosl.h.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53378 954f8c5b-7b00-dc11-b283-0030488c597c
Testing commit for OS X trackpad and scroll events.

Now:
- code is wrapped for OS X releases (10.6 and 10.7)
- It now detects scrollwheel (old mouse) and gesture strokes (mighty mouse or trackpad).

If you have 10.6, things will work as for release. 

Next todo for tomorrow: make trackpad work actually smooth and not with steps.
Will also try to figure out the device type, to handle mighty mouse differently.



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

MAC_OS_X_VERSION_MAX_ALLOWED
with
MAC_OS_X_VERSION_MIN_REQUIRED




git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53380 954f8c5b-7b00-dc11-b283-0030488c597c
i18 Spell check:
* Wrong comma sequence in spell_check_utils.py

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53382 954f8c5b-7b00-dc11-b283-0030488c597c
Add datafiles/locale/languages to blender.spec.in for CPack

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53385 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for last commit, hair settings panel should also check on psys. 

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53388 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles Hair:
* Implemented the Hair Info Node for OSL. 

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53390 954f8c5b-7b00-dc11-b283-0030488c597c
set line endings to native & mime type to text/plain for .app/Contents/MacOS/xxx files.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53391 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Fix for [#33685] "2D Filters Partially Offset" reported by Josiah Lane (solarlune). This bug was caused by me in a recent change to clean up the 2D filters a bit. I forgot that canvas->SetViewPort already handles some viewport calculations, and thus I ended up doubling up on calculations, which caused the offset.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53392 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: An off-by-one error when setting up the viewport for 2D filters caused a blurring effect when using 2D filters. This is now fixed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53393 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for the NODE_OT_add_node operator. The way python classes were subclassed does not work with the registration mechanism. Combined both node_add and node_add_move operators into a single general operator with a flag. When use_transform is set, the operator will start transform on the new nodes after inserting.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53394 954f8c5b-7b00-dc11-b283-0030488c597c
Finally fixing the issue where the bezier curve drawn while creating a link between two logic bricks doesn't match the mouse cursor location. The issue was the last line segment for the bezier curve was not getting drawn. This is why the error increased as the curve got longer.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53395 954f8c5b-7b00-dc11-b283-0030488c597c
BGE: Adding a jumpCount to KX_CharacterWrapper. This can be used to have different logic for a single jump versus a double jump. For example, a different animation for the second jump.

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