Cycles:
* Fix Cycles using wrong AA sample values, after integrator renaming. 

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59448 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: change to r59443, TRUE/FALSE are deprecated, see BLI_sys_types.h


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59450 954f8c5b-7b00-dc11-b283-0030488c597c
add GPL header to treehash.c and add missing includes to cmake.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59451 954f8c5b-7b00-dc11-b283-0030488c597c
Fix [#36330] Clicking Scrolled Object Properties Tab Brings Up Wrong One

Actually, happened in any view2D... Just added a call to WM_event_add_mousemove() in view_pan_apply, so that overed/active button is refreshed in this case.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59454 954f8c5b-7b00-dc11-b283-0030488c597c
fix for crash in weight-paint-gradient, missing call to curve curvemapping_initialize


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59456 954f8c5b-7b00-dc11-b283-0030488c597c
Fix 36505: Collada exporter crashes Blender when exporting to locked file

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59457 954f8c5b-7b00-dc11-b283-0030488c597c
style cleanup: space around for loop wrappers


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59458 954f8c5b-7b00-dc11-b283-0030488c597c
skip building moto if its not needed.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59459 954f8c5b-7b00-dc11-b283-0030488c597c
Fix for [#36374] Read unitialized memory in Freestyle.
A variable keeping a bounding box was referenced after it was flagged as empty.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59460 954f8c5b-7b00-dc11-b283-0030488c597c
fix for GPU_update_bmesh_buffers not setting bmesh vertex index values as dirty (could cause errors later).


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

* fix old bug: wrong layout that could happen  when switching between thumbnail view and list view. This caused the layout to be recalculated sometimes and the items being moved. Reason was that the layout was wrongly initialized without the scroll bars, so calculated wrongly.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59462 954f8c5b-7b00-dc11-b283-0030488c597c
ghash and edgehash api, allow newly defined hashes to take in the size of the hash as an arg (avoids resizing in simple cases when the hash is created and filled immediately).


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59463 954f8c5b-7b00-dc11-b283-0030488c597c
edge hash: take an arg for the guarded-malloc string (as ghash does)


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59464 954f8c5b-7b00-dc11-b283-0030488c597c
fix for leak in make_edges_mdata() if there were no edges to create,
also reserve the total number of edges in the hash when its created.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59465 954f8c5b-7b00-dc11-b283-0030488c597c
Adding a darker "blender icon" for save blends (.blend1, .blend2, etc.), as requested by elubie.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59466 954f8c5b-7b00-dc11-b283-0030488c597c
when the size of an edgehash is known or can be guessed,
pass in the argument to reserve the size.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59467 954f8c5b-7b00-dc11-b283-0030488c597c
Made large "blender icon" for save blends (.blend1, .blend2, etc.) have a bit darker background as well.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59468 954f8c5b-7b00-dc11-b283-0030488c597c
fix for leak in cloth modifier
- any error in cloth_build_springs wasn't freeing the edge-hash.
- was checking BLI_edgehash_haskey on matching vertices.
- was looping over setting NULL for all elements of a calloc'd array.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59469 954f8c5b-7b00-dc11-b283-0030488c597c
use reserve argument for more edgehashs


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@59470 954f8c5b-7b00-dc11-b283-0030488c597c
Cycles: reduce noise using regular path tracing + subsurface scattering with
new cubic and gaussian falloff. Like the branched path tracer, this will now
shade all intersection points instead of using one at random.

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