correct own error in recent linked stack edits.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59226 954f8c5b-7b00-dc11-b283-0030488c597c
improved BM_face_copy_shared to copy from more possible connected loops and add filter function (not used yet).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59228 954f8c5b-7b00-dc11-b283-0030488c597c
Updates for the Cycle Hair UI. With the following changes
- Removed the cycles subdivision and interpolation of hairkeys.
- Removed the parent settings.
- Removed all of the advanced settings and presets.
- This simplifies the UI to a few settings for the primitive type and a shape mode.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59234 954f8c5b-7b00-dc11-b283-0030488c597c
Fix a few compiler warnings reported by clang.

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

New features:

* Bump mapping now works with SSS
* Texture Blur factor for SSS, see the documentation for details:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/Shaders#Subsurface_Scattering

Work in progress for feedback:

Initial implementation of the "BSSRDF Importance Sampling" paper, which uses
a different importance sampling method. It gives better quality results in
many ways, with the availability of both Cubic and Gaussian falloff functions,
but also tends to be more noisy when using the progressive integrator and does
not give great results with some geometry. It works quite well for the
non-progressive integrator and is often less noisy there.

This code may still change a lot, so unless you're testing it may be best to
stick to the Compatible falloff function.

Skin test render and file that takes advantage of the gaussian falloff:
http://www.pasteall.org/pic/show.php?id=57661
http://www.pasteall.org/pic/show.php?id=57662
http://www.pasteall.org/blend/23501

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59236 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: relicense GNU GPL source code to Apache version 2.0.

More information in this post:
http://code.blender.org/

Thanks to all contributes for giving their permission!

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


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59238 954f8c5b-7b00-dc11-b283-0030488c597c
Fix compile of last commit

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59239 954f8c5b-7b00-dc11-b283-0030488c597c
bmesh improvements to face creation.

* fill-holes operator now takes advantage of new edge-net fill, works in many more cases then it did before.

* face-create that uses edge-net now initializes the normals based on surrounding geometry, only running normal calculation if there are no connected faces for a reference.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59240 954f8c5b-7b00-dc11-b283-0030488c597c
More "relpath" try/except protection...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59241 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36423] Audio strips contain selectable (visual) blend modes and opacity value

Simply hide blend type and opacity for SOUND strips!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59242 954f8c5b-7b00-dc11-b283-0030488c597c
Fix #34413 Dyntopo, smooth shading normals not getting uploaded to GPU
and undo buffers.

When we have smooth shading we must not only update the unique vertex
normals.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59245 954f8c5b-7b00-dc11-b283-0030488c597c
Add comments for outliner's treestore and treehash (no functional changes)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59246 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles / SSS:
* OSL rendered Black with Compatible Fallof option, fixed. 

Note: OSL uses compatible scattering when "Compatible" or "Bicubic" is selected. I guess compatible will be removed later? If not we need to fix this properly. 

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